DocumentExtensions<T> extension

on

Methods

getDatastoreName() String
Returns the name of a file data store name for a given document and its persistor settings. Uses the custom persistence key of the document if specified in its persistor settings, otherwise it defaults to the document's collection name.
isEncryptionEnabled() bool
Returns whether encryption is enabled for this document.
toPersistenceDoc() FilePersistDocument