Skip to main content

IDataStoreORM.dataStoreORMGetIdentifiersCount() 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.

Warning: This API is now obsolete.

This will be removed in future versions of this plugin interface. This API may change without a BREAKING CHANGE notice.

Tries to obtain a count of IIdentifiers that match the given filter. The origin of these identifiers is from any credential / presentation or message that was successfully processed by this agent.

If the same database is used for implementations of AbstractDIDStore, then these identifiers can also come from didManagerCreate or didManagerImport operations.

dataStoreORMGetIdentifiersCount(args: FindIdentifiersArgs, context: AuthorizedDIDContext): Promise<number>;


argsFindIdentifiersArgsThe filter to apply when querying
contextAuthorizedDIDContextCan 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.