VersionConfigModel
Extends
Model<VersionConfigDocument>
Constructors
Constructor
new VersionConfigModel<
DocType>(doc?,fields?,options?):Document<unknown, { },VersionConfigDocument, { },DefaultSchemaOptions> &VersionConfigDocument&Required<{ }> &object&object
Parameters
doc?
DocType
fields?
any
options?
AnyObject
Returns
Document<unknown, { }, VersionConfigDocument, { }, DefaultSchemaOptions> & VersionConfigDocument & Required<{ }> & object & object
Inherited from
mongoose.Model<VersionConfigDocument>.constructor
Methods
findOneOrNone()
findOneOrNone(
query,errorArgs?):Promise<Document<ObjectId,any,any,Record<string,any>, { }> &VersionConfigDocument|null>
Parameters
query
Record<string, unknown>
errorArgs?
Partial<APIErrorOptions>
Returns
Promise<Document<ObjectId, any, any, Record<string, any>, { }> & VersionConfigDocument | null>