Method | Description | |
---|---|---|
BulkInsert ( ) : void | ||
Collection ( string name, Database db, object>.IDictionary |
Create a new Collection object. If options are included, sends a command to the database, otherwise the reference is 'lazy'
|
|
Count ( ) : int | ||
CreateIndex ( MongoDB.Index index, bool unique = false ) : string | ||
DataSize ( ) : long | ||
Distinct ( string key ) : IList | ||
Drop ( ) : void |
Drop this collection from its Database
|
|
DropIndex ( MongoDB.Index index ) : void | ||
DropIndex ( string name ) : void | ||
FindOne ( object>.IDictionary |
||
GetIndexes ( ) : Cursor | ||
Group ( ) : Doc | ||
Insert ( object>.IDictionary |
||
MapReduce ( MapReduce mr ) : Doc | ||
Remove ( object>.IDictionary |
||
Save ( object>.IDictionary |
||
Stats ( ) : Doc | ||
StorageSize ( ) : long | ||
TotalIndexSize ( ) : long | ||
TryGetMember ( |
||
Update ( object>.IDictionary |
Method | Description | |
---|---|---|
Create ( object>.IDictionary |
||
EnsureIndex ( MongoDB.Index index ) : string | ||
Find ( object>.IDictionary |
||
IndexName ( MongoDB.Index index ) : string | ||
NameOk ( string name ) : bool |
public Collection ( string name, Database db, object>.IDictionary |
||
name | string | |
db | Database | |
options | object>.IDictionary | /// valid options are: /// size - initial size (bytes), also max if capped /// capped - true if capped /// max - max object count if capped (optional) /// |
return | System |
public CreateIndex ( MongoDB.Index index, bool unique = false ) : string | ||
index | MongoDB.Index | |
unique | bool | |
return | string |
public DropIndex ( MongoDB.Index index ) : void | ||
index | MongoDB.Index | |
return | void |
public FindOne ( object>.IDictionary |
||
obj | object>.IDictionary | |
return | Doc |
public Insert ( object>.IDictionary |
||
obj | object>.IDictionary | |
safe | bool | |
return | object |
public Remove ( object>.IDictionary |
||
spec | object>.IDictionary | |
safe | bool | |
return | void |
public Save ( object>.IDictionary |
||
obj | object>.IDictionary | |
safe | bool | |
return | object |
public TryGetMember ( |
||
binder | ||
result | object | |
return | bool |
public Update ( object>.IDictionary |
||
spec | object>.IDictionary | |
doc | object>.IDictionary | |
upsert | bool | |
multi | bool | |
safe | bool | |
return | void |