IDataStoreORM.dataStoreORMGetVerifiablePresentationsCount() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns a count of UniqueVerifiablePresentations that match the given filter based on the top level properties of a presentation.
These are VerifiablePresentations that were stored using dataStoreSaveVerifiablePresentation.
Signature:dataStoreORMGetVerifiablePresentationsCount(args: FindPresentationsArgs, context: AuthorizedDIDContext): Promise<number>;
Parameters
Parameter | Type | Description |
---|---|---|
args | FindPresentationsArgs | The filter to apply when querying |
context | AuthorizedDIDContext | Can be used to signal that only a particular DID is authorized to perform this operation. This will cause the result to only contain data that this DID should be able to access. This API may change without a BREAKING CHANGE notice. |
Promise<number>