Method | Description | |
---|---|---|
Authenticate ( string username, string password ) : bool | ||
Database ( Connection conn, String name ) : System | ||
Eval ( |
||
Eval ( string javascript ) : |
||
Eval ( string javascript, |
||
FollowReference ( |
Gets the document that a reference is pointing to.
|
|
GetCollection ( String name ) : IMongoCollection | ||
GetCollectionNames ( ) : List |
||
GetLastError ( ) : |
Most operations do not have a return code in order to save the client from having to wait for results. GetLastError can be called to retrieve the return code if clients want one.
|
|
GetLastErrorAndFSync ( ) : |
Retrieves the last error and forces the database to fsync all files before returning. Server version 1.3+ |
|
GetPreviousError ( ) : |
Call after sending a bulk operation to the database.
|
|
Logout ( ) : void | ||
ResetError ( ) : void |
Resets last error. This is good to call before a bulk operation.
|
|
SendCommand ( |
||
SendCommand ( string command ) : |
||
this ( String name ) : IMongoCollection |
Method | Description | |
---|---|---|
Hash ( string text ) : string |
public Authenticate ( string username, string password ) : bool | ||
username | string | |
password | string | |
return | bool |
public Database ( Connection conn, String name ) : System | ||
conn | Connection | |
name | String | |
return | System |
public Eval ( string javascript, |
||
javascript | string | |
scope | ||
return |
public FollowReference ( |
||
reference | ||
return |
public GetCollection ( String name ) : IMongoCollection | ||
name | String | |
return | IMongoCollection |
public SendCommand ( |
||
cmd | ||
return |
public SendCommand ( string command ) : |
||
command | string | |
return |
public this ( String name ) : IMongoCollection | ||
name | String | |
return | IMongoCollection |