class E3DB::Record
A E3DB
record containing data and metadata. Records are a key/value mapping containing data serialized into strings. All records are encrypted prior to sending them to the server for storage, and decrypted in the client after they are read.
New records are written to the database by calling the {Client#write} method.
To read a record by their unique ID, use {Client#read}, or to query a set of records based on their attributes, use {Client#query}.
@!attribute meta
@return [Meta] meta-information about this record
@!attribute data
@return [Hash<String, String>] this record's application-specific data
Public Instance Methods
meta=(meta)
click to toggle source
Allow updating metadata, used on destructive update.
# File lib/e3db/client.rb, line 153 def meta=(meta) @meta = meta end