메소드 | 설명 | |
---|---|---|
CreateCollection ( string dbName, string collectionName ) : void | ||
CreateDatabase ( string dbName ) : bool | ||
CreateIndexes ( string dbName, string collectionNamespace, string pattern ) : |
||
DropCollection ( string dbName, string collectionName ) : bool | ||
DropDatabase ( string dbName ) : bool | ||
DropIndex ( string dbName, string collectionName, |
||
GetCollections ( string dbName ) : List |
||
GetDatabases ( ) : List |
||
GetIndexsByNS ( string dbName, string collectionNamespace ) : List |
||
GetMongo ( ) : |
public static CreateCollection ( string dbName, string collectionName ) : void | ||
dbName | string | |
collectionName | string | |
리턴 | void |
public static CreateDatabase ( string dbName ) : bool | ||
dbName | string | |
리턴 | bool |
public static CreateIndexes ( string dbName, string collectionNamespace, string pattern ) : |
||
dbName | string | |
collectionNamespace | string | |
pattern | string | |
리턴 |
public static DropCollection ( string dbName, string collectionName ) : bool | ||
dbName | string | |
collectionName | string | |
리턴 | bool |
public static DropIndex ( string dbName, string collectionName, |
||
dbName | string | |
collectionName | string | |
key | ||
리턴 | void |
public static GetCollections ( string dbName ) : List |
||
dbName | string | |
리턴 | List |
public static GetIndexsByNS ( string dbName, string collectionNamespace ) : List |
||
dbName | string | |
collectionNamespace | string | |
리턴 | List |