Attachments
The Eloquera DB indexes all properties and the elements
of the arrays in the Dynamic objects. However, some time arrays may be used to
store raw data and will never be used in queries, like images, encrypted and/or
serialized data. In this case arrays may be declared as attachments – they will
not be indexed thus substantially speeding up the store operations.
To declare array as attachment a “#” symbol shall be in
front of the field name.
Example:
message
= new Dynamic();
message["Type"] = "string";
message["ExpireTime"]
= DateTime.UtcNow;
byte[] payload = new byte[512];
r.NextBytes(payload);
message["#Payload"] =
payload;//array-attachment