mongoschemad ~master (2021-10-16T08:14:18Z)
Dub
Repo
MongoSchema.findById
mongoschema
db
MongoSchema
Finds one element with the object id
id
.
typeof
(
this
)
findById
(BsonObjectID id)
mixintemplate
MongoSchema
()
static
typeof
(this)
findById
(
BsonObjectID
id
)
typeof
(
this
)
findById
(string id)
Throws
DocumentNotFoundException if not found
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_
Finds one element with the object id id.