save ( collection assoc -- )


Vocabulary
mongodb.driver

Inputs
collectiona collection
assocobject


Outputs
None

Word description
Saves the object to the given collection. If the object contains a field name "_id" this command automatically performs an update (with upsert) instead of a plain save

Definition