robbiblubber.org

help | login | search:  
<<

Home Page
Index

Projects

Utility Suite
Data Suite
Bad Wolf Suite
WeakWiki

User Docs

ConfigNotepad
LED
rqoon
Nuub

Code Docs

.NET
Java
PHP

robbiblubber.org

Specs
Articles

Sources















show wiki  show source  compare to current  compare to previous  read  history 


MongoDB Driver Function Reference



This documents lists the functions and keywords implemented in the robbiblubber.org MongoDB ADO.NET driver.
The driver implements a subset of MongoDB shell functions as well as driver-specific functionality, especially for using cursors on BSON documents. There may also be differences in function declarations and parameter usage in the functions derived from the MongoDB shell implementation.



Database commands


db Shows the current database
show databases Shows a list of all databases in the cluster
show collections Shows a list of all collections in the current database
use switches the current database



Collection methods


delete() Deletes documents from a collection
deleteOne() Deletes a single document from a collection
deleteMany() Deletes documents from a collection
find() Retrieves documents from a collection
findOne() Retrieves a single document from a collection
insert() Inserts documents into a collection
insertOne() inserts a single document into a collection
insertMany() Inserts documents into a collection
update() Updates documents in a collection
updateOne() Updates a single document in a collection
updateMany() Updates documents in a collection



Cursor methods


asc() Sorts the results ascending
desc() Sorts the results descending
orderBy() Sorts the results
pretty() Formats BSON documents
select() Selects fields into a table result




home | MongoDB Driver