CRUD
Insert
collection.insert_one(<document>)
collection.insert_many([<docuemtn1>, <document2>, ...])
collection.insert(<document>) # DeprecatedFind
db.collections.find()
db.collections.find_one()db.collections.find({<field> : <value>})Cursor
explain
Update
upsert
Delete
Last updated
Was this helpful?