Property | Type | Description | |
---|---|---|---|
FileFormat | FileFormat | ||
FilePath | string |
Method | Description | |
---|---|---|
Count ( ) : long | ||
Count ( IMongoQuery query ) : long | ||
Count ( IMongoQuery query, int skip, int first ) : long | ||
Distinct ( string key, IMongoQuery query ) : IEnumerable |
||
FindAndModifyAs ( |
||
FindAndRemoveAs ( |
||
FindAs ( |
||
Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult |
Method | Description | |
---|---|---|
CloneExternalDocument ( BsonDocument externalDocument ) : BsonDocument | ||
FileCollection ( string path, FileFormat format ) : System | ||
InsertInternal ( BsonDocument document ) : void | ||
NewResponse ( int documentsAffected, bool updatedExisting, string lastErrorMessage, string errorMessage ) : BsonDocument | ||
RemoveDocument ( BsonDocument document ) : void | ||
RemoveDocumentAt ( int index ) : void | ||
UpdateDocument ( BsonDocument document, UpdateCompiler>.Func |
Method | Description | |
---|---|---|
InsertNewDocument ( IMongoQuery query, IMongoUpdate update ) : BsonDocument | ||
QueryDocuments ( IMongoQuery query ) : IEnumerable |
||
Read ( bool newCollection ) : void | ||
ReadDocumentsAs ( |
||
Save ( string saveAs, FileFormat format ) : void |
protected static CloneExternalDocument ( BsonDocument externalDocument ) : BsonDocument | ||
externalDocument | BsonDocument | |
return | BsonDocument |
public Count ( IMongoQuery query, int skip, int first ) : long | ||
query | IMongoQuery | |
skip | int | |
first | int | |
return | long |
public Distinct ( string key, IMongoQuery query ) : IEnumerable |
||
key | string | |
query | IMongoQuery | |
return | IEnumerable |
protected FileCollection ( string path, FileFormat format ) : System | ||
path | string | |
format | FileFormat | |
return | System |
public FindAndModifyAs ( |
||
documentType | ||
query | IMongoQuery | |
sortBy | IMongoSortBy | |
update | IMongoUpdate | |
fields | IMongoFields | |
returnNew | bool | |
upsert | bool | |
result | UpdateResult | |
return | object |
public FindAndRemoveAs ( |
||
documentType | ||
query | IMongoQuery | |
sortBy | IMongoSortBy | |
return | object |
public FindAs ( |
||
documentType | ||
query | IMongoQuery | |
modes | QueryFlags | |
sortBy | IMongoSortBy | |
skip | int | |
first | int | |
fields | IMongoFields | |
return | IEnumerable |
public Insert ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
document | BsonDocument | |
writeConcern | WriteConcern | |
needResult | bool | |
return | MongoDB.Driver.WriteConcernResult |
protected abstract InsertInternal ( BsonDocument document ) : void | ||
document | BsonDocument | |
return | void |
protected static NewResponse ( int documentsAffected, bool updatedExisting, string lastErrorMessage, string errorMessage ) : BsonDocument | ||
documentsAffected | int | |
updatedExisting | bool | |
lastErrorMessage | string | |
errorMessage | string | |
return | BsonDocument |
public Remove ( IMongoQuery query, RemoveFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
query | IMongoQuery | |
flags | RemoveFlags | |
writeConcern | WriteConcern | |
needResult | bool | |
return | MongoDB.Driver.WriteConcernResult |
protected abstract RemoveDocument ( BsonDocument document ) : void | ||
document | BsonDocument | |
return | void |
protected abstract RemoveDocumentAt ( int index ) : void | ||
index | int | |
return | void |
public Save ( BsonDocument document, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
document | BsonDocument | |
writeConcern | WriteConcern | |
needResult | bool | |
return | MongoDB.Driver.WriteConcernResult |
public Update ( IMongoQuery query, IMongoUpdate update, UpdateFlags flags, WriteConcern writeConcern, bool needResult ) : MongoDB.Driver.WriteConcernResult | ||
query | IMongoQuery | |
update | IMongoUpdate | |
flags | UpdateFlags | |
writeConcern | WriteConcern | |
needResult | bool | |
return | MongoDB.Driver.WriteConcernResult |
protected abstract UpdateDocument ( BsonDocument document, UpdateCompiler>.Func |
||
document | BsonDocument | |
update | UpdateCompiler>.Func | |
return | void |