update

Updates a set of documents based on a query.

static if(isWeb)
void
update
(
TQuery
TUpdate
)
(
string collection
,
TQuery query
,
TUpdate update
)

Parameters

collection string

The mongo db collection.

query TQuery

The query of the update.

update TUpdate

The data to update the document(s) with.

Meta