purge
Deprecated
Use defaultCollection.purge()
Replace with
defaultCollection.purge(document)
Content copied to clipboard
Purges the passed document from the default collection. This is more drastic than delete(Document): it removes all local traces of the document. Purges will NOT be replicated to other databases.
Parameters
document
the document to be purged.
Deprecated
Use defaultCollection.purge()
Replace with
defaultCollection.purge(id)
Content copied to clipboard
Purges the document with the passed id from default collection. This is more drastic than delete(Document), it removes all local traces of the document. Purges will NOT be replicated to other databases.
Parameters
id
the document ID
Deprecated
Use defaultCollection.purge()
Replace with
defaultCollection.purge(document)
Content copied to clipboard
Deprecated
Use defaultCollection.purge()
Replace with
defaultCollection.purge(id)
Content copied to clipboard