메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
Hash ( string text ) : string |
public Authenticate ( string username, string password ) : bool | ||
username | string | |
password | string | |
리턴 | bool |
public Database ( Connection conn, String name ) : System | ||
conn | Connection | |
name | String | |
리턴 | System |
public Eval ( string javascript, |
||
javascript | string | |
scope | ||
리턴 |
public FollowReference ( |
||
reference | ||
리턴 |
public GetCollection ( String name ) : IMongoCollection | ||
name | String | |
리턴 | IMongoCollection |