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.



Database methods


aggregate() Runs an aggregation without a collection.
createCollection() Creates a collection.
createView() Creates a view.
dropCollection() Drops a collection.
dropDatabase() Drops a database.
getCollection() Gets a collection.
getName() Returns the database name.
getSiblingDB() Gets a database.
runCommand() Executes a database command.
serverStatus() Retrieves server status data.
stats() Retrieves storage statistics for a database.



Collection methods


aggregate() Runs an aggregation on a collection.
countDocuments() Returns the number of matching documents.
createIndex() Creates an index on the collection.
delete() Deletes documents from a collection.
deleteOne() Deletes a single document from a collection.
deleteMany() Deletes documents from a collection.
distinct() Retrieves distinct field values from a collection.
drop() Drops the collection.
estimatedDocumentCount() Returns the count of all documents in 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.
count() Counts the results.
desc() Sorts the results descending.
distinct() Makes the results distinct.
orderBy() Sorts the results.
pretty() Formats BSON documents.
select() Selects fields into a table result.




home | MongoDB Driver