Get the document's revision id. The revision id in the Document class is a constant, while
the revision id in the MutableDocument class is not. The newly created Document will have
a null revision id. The revision id in MutableDocument will be updated on save.
The revision id format is opaque, which means its format has no meaning and shouldn't be
parsed to get information.
the document's revision id
public long getSequence()
Return the sequence number of the document in the database.
This indicates how recently the document has been changed: every time any document is updated,
the database assigns it the next sequential sequence number. Thus, if a document's `sequence`
property changes that means it's been changed (on-disk); and if one document's `sequence`
is greater than another's, that means it was changed more recently.
the sequence number of the document in the database.
Gets a property's value as an object. The object types are Blob, Array,
Dictionary, Number, or String based on the underlying data type; or nil if the
property value is null or the property doesn't exist.
Gets a property's value as an double.
Integers will be converted to double. The value `true` is returned as 1.0, `false` as 0.0.
Returns 0.0 if the property doesn't exist or does not have a numeric value.
Gets a property's value as a Date.
JSON does not directly support dates, so the actual property value must be a string, which is
then parsed according to the ISO-8601 date format (the default used in JSON.)
Returns null if the value doesn't exist, is not a string, or is not parseable as a date.
NOTE: This is not a generic date parser! It only recognizes the ISO-8601 format, with or