Adds a document with id and data to this Collection.
id
data
this
doc
Removes the document with id from this Collection. If there are no more documents in the Collection after the given document is removed, then this destroys the Collection.
Adds a document with
id
anddata
tothis
Collection.