mongoschemad v2.5.1 (2017-08-28T08:11:47Z)
Dub
Repo
MongoSchema.findById
mongoschema
MongoSchema
Finds one element with the hex id
id
.
typeof
(
this
)
findById
(BsonObjectID id)
typeof
(
this
)
findById
(string id)
mixintemplate
MongoSchema
()
static
typeof
(this)
findById
(
string
id
)
Throws
DocumentNotFoundException if not found
Meta
Source
See Implementation
mongoschema
MongoSchema
functions
remove
save
properties
bsonID
static functions
aggregate
count
countAll
dropTable
find
findAll
findById
findOne
findOneOrThrow
findRange
removeAll
tryFindById
tryFindOne
update
upsert
static variables
_schema_collection_
Finds one element with the hex id id.