Skip to main content
Version: 57.2.0

ConsentFormStatics

Extends

Extended by

Methods

findExactlyOne()

findExactlyOne(query, errorArgs?): Promise<Document<ObjectId, any, any, Record<string, any>, { }> & ConsentFormDocument>

Parameters

query

Record<string, unknown>

errorArgs?

Partial<APIErrorOptions>

Returns

Promise<Document<ObjectId, any, any, Record<string, any>, { }> & ConsentFormDocument>

Inherited from

FindExactlyOnePlugin.findExactlyOne


findOneOrNone()

findOneOrNone(query, errorArgs?): Promise<Document<ObjectId, any, any, Record<string, any>, { }> & ConsentFormDocument | null>

Parameters

query

Record<string, unknown>

errorArgs?

Partial<APIErrorOptions>

Returns

Promise<Document<ObjectId, any, any, Record<string, any>, { }> & ConsentFormDocument | null>

Inherited from

FindOneOrNonePlugin.findOneOrNone