Skip to main content
Version: 57.2.0

ConsentResponseStatics

Extends

Extended by

Methods

findExactlyOne()

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

Parameters

query

Record<string, unknown>

errorArgs?

Partial<APIErrorOptions>

Returns

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

Inherited from

FindExactlyOnePlugin.findExactlyOne


findOneOrNone()

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

Parameters

query

Record<string, unknown>

errorArgs?

Partial<APIErrorOptions>

Returns

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

Inherited from

FindOneOrNonePlugin.findOneOrNone