MongoSchema.findOneOrThrow

Tries to find one document in the collection.

mixintemplate MongoSchema()
static
findOneOrThrow
(
T
)
()

Throws

DocumentNotFoundException if not found

Meta