MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / GetAllIdentitiesWithFilter

Method GetAllIdentitiesWithFilter

identity.go:100–102  ·  view source on GitHub ↗

GetAllIdentitiesWithFilter retrieves identities using advanced filters. Parameters: - ctx context.Context: The context for the operation. - filters *filter.QueryFilterSet: Filter conditions to apply. - limit int: Maximum number of identities to return. - offset int: Offset for pagination. Returns:

(ctx context.Context, filters *filter.QueryFilterSet, limit, offset int)

Source from the content-addressed store, hash-verified

98// - []model.Identity: A slice of Identity models matching the filter criteria.
99// - error: An error if the identities could not be retrieved.
100func (l *LedgerForge) GetAllIdentitiesWithFilter(ctx context.Context, filters *filter.QueryFilterSet, limit, offset int) ([]model.Identity, error) {
101 return l.datasource.GetAllIdentitiesWithFilter(ctx, filters, limit, offset)
102}
103
104// GetAllIdentitiesWithFilterAndOptions retrieves identities with filters, sorting, and optional count.
105//

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected