mongoschemad ~master (2021-10-16T08:14:18Z)
Dub
Repo
MongoSchema.update
mongoschema
db
MongoSchema
Updates a document.
void
update
(Query!(typeof(this)) query, U update, UpdateFlags options)
mixintemplate
MongoSchema
()
static
void
update
(
U
)
(
Query
!(
typeof
(this))
query
,
U
update
,
UpdateFlags
options
=
UpdateFlags.none
)
void
update
(T query, U update, UpdateFlags options)
Meta
Source
See Implementation
mongoschema
db
MongoSchema
functions
merge
remove
save
properties
bsonID
collection
static functions
aggregate
count
countAll
dropTable
find
findAll
findById
findOne
findOneOrThrow
findRange
insertMany
removeAll
tryFindById
tryFindOne
update
upsert
static variables
_schema_collection_
Updates a document.