Méthode | 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 |
Méthode | 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) /// |
Résultat | System |
public CreateIndex ( MongoDB.Index index, bool unique = false ) : string | ||
index | MongoDB.Index | |
unique | bool | |
Résultat | string |
public DropIndex ( MongoDB.Index index ) : void | ||
index | MongoDB.Index | |
Résultat | void |
public FindOne ( object>.IDictionary |
||
obj | object>.IDictionary | |
Résultat | Doc |
public Insert ( object>.IDictionary |
||
obj | object>.IDictionary | |
safe | bool | |
Résultat | object |
public Remove ( object>.IDictionary |
||
spec | object>.IDictionary | |
safe | bool | |
Résultat | void |
public Save ( object>.IDictionary |
||
obj | object>.IDictionary | |
safe | bool | |
Résultat | object |
public TryGetMember ( |
||
binder | ||
result | object | |
Résultat | bool |
public Update ( object>.IDictionary |
||
spec | object>.IDictionary | |
doc | object>.IDictionary | |
upsert | bool | |
multi | bool | |
safe | bool | |
Résultat | void |