Database operation interfaces of collection space. More...
Public Member Functions | |
| DBCollection | GetCollection (string collectionName) |
| Get the named collection. | |
| bool | IsCollectionExist (string colName) |
| Verify the existence of collection in current colleciont space. | |
| DBCollection | CreateCollection (string collectionName) |
| Create the named collection in current collection space. | |
| DBCollection | CreateCollection (string collectionName, BsonDocument options) |
| Create the named collection in current collection space. | |
| void | DropCollection (string collectionName) |
| Remove the named collection of current collection space. | |
Properties | |
| string | Name [get] |
| Return the name of current collection space. | |
| Sequoiadb | SequoiaDB [get] |
| Return the Sequoiadb handle of current collection space. | |
Database operation interfaces of collection space.
|
inline |
Create the named collection in current collection space.
| collectionName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Create the named collection in current collection space.
| collectionName | The collection name |
| options | The options |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Remove the named collection of current collection space.
| collectionName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Get the named collection.
| collectionName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Verify the existence of collection in current colleciont space.
| colName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
get |
Return the name of current collection space.
|
get |
1.8.2