db.collection.insert() Definition Behaviors Write Concern Create Collection _id Field Transactions Examples Insert a Document without Specifying an _id Field Insert a Docume...
db.collection.findOneAndDelete() Definition Behavior Document Match Projection Transactions Examples Delete A Document Sort And Delete A Document Projecting the Deleted Docu...
db.collection.findAndModify() Definition Return Data Behavior Upsert and Unique Index Sharded Collections Document Validation Comparisons with the update Method Transactions ...
db.collection.createIndexes() Definition Options Options for All Index Types Option for Collation Collation and Index Use Options for text Indexes Options for 2dsphere Indexes...
db.collection.createIndex() Definition Options Options for All Index Types Option for Collation Collation and Index Use Options for text Indexes Options for 2dsphere Indexes ...