Initializes a new instance of this object.
The initialize options for the database.
Private _optionsGets the connection database.
The connection database.
Gets the connection options.
A copy of the connection options.
Gets the connection url.
The connection host.
Private _createOptional filter: IZFilterPrivate _doRetrieves the count of documents from the source.
The source collection to count.
Optional scope: IZFilterThe data scope. If this is undefined, then the total number of documents in the database should be returned.
The total source count.
Reads documents from the database.
The source collection to read from.
Optional request: IZDataRequestThe request scope. If this is undefined, then all documents are read from the database.
A page of documents that match the request scope.
Updates fields in the database.
The source to update.
The partial template that contains the fields to update.
Optional scope: IZFilterThe scope to filter to. If this is undefined, then all documents are updated.
The total number of documents updated.
Generated using TypeDoc
Represents an IZDatabase object that connects to mongodb.