diamond.database.mongo.operations

Copyright © DiamondMVC 2019

Members

Functions

findMany
T[] findMany(string collection, TQuery query)

Finds a set of documents.

findSingle
T findSingle(string collection, TQuery query)

Finds a single document.

insertMany
void insertMany(string collection, T[] documents)

Inserts a set of documents.

insertSingle
void insertSingle(string collection, T document)

Inserts a single document.

remove
void remove(string collection, TQuery query)

Removes a set of documents based on a query.

update
void update(string collection, TQuery query, TUpdate update)

Updates a set of documents based on a query.

Meta

Authors

Jacob Jensen (bausshf)