My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for

Assembly: MongoDB.Driver.dll
Namespace: MongoDB.Driver
Type Name: Constants+CollectionNames (class)

Fields

T_MongoDB_Driver_Constants_CollectionNames  
API documentation for the Constants+CollectionNames type
WikiDoc, Type
Updated Jun 8, 2010 by ee.devf...@gmail.com

Summary

Well-Known Collection Names

Members

Fields

Name Literal Comments
Cmd $cmd Name of the virtual collection used for sending database commands to the server
SystemJs system.js There is a special system collection called system.js that can store JavaScript function to be re-used. To store a function, you would do: db.system.js.save( { id : "foo" , value : function( x , y ){ return x + y; } } ); id is the name of the function, and is unique per database. Once you do that, you can use foo from any JavaScript context (db.eval, $where, map/reduce) See http://github.com/mongodb/mongo/tree/master/jstests/storefunc.js for a full example
SystemUsers system.users Name of the collection that houses user information


Sign in to add a comment
Powered by Google Project Hosting