MarcoPolo.Document
Struct representing an OrientDB document (ODocument
).
Contains the following fields:
:rid
- the record id of the document (as aMarcoPolo.RID
). It'snil
for new documents (not yet stored on the database).:class
- the class of the document. Can benil
when the document has no class.:version
- the version of the document.:fields
- the fields of the document.
Types
t :: %MarcoPolo.Document{class: nil | String.t, version: nil | non_neg_integer, fields: %{}, rid: nil | MarcoPolo.RID.t}