MCPcopy Create free account
hub / github.com/Permify/permify / ReadAttributes

Method ReadAttributes

internal/storage/storage.go:31–31  ·  view source on GitHub ↗

ReadAttributes reads multiple attributes from the storage based on the given filter and pagination. It returns a collection of attributes, a continuous token indicating the position in the data set, and any error encountered.

(ctx context.Context, tenantID string, filter *base.AttributeFilter, snap string, pagination database.Pagination)

Source from the content-addressed store, hash-verified

29 // ReadAttributes reads multiple attributes from the storage based on the given filter and pagination.
30 // It returns a collection of attributes, a continuous token indicating the position in the data set, and any error encountered.
31 ReadAttributes(ctx context.Context, tenantID string, filter *base.AttributeFilter, snap string, pagination database.Pagination) (collection *database.AttributeCollection, ct database.EncodedContinuousToken, err error)
32
33 // QueryUniqueSubjectReferences reads unique subject references from the storage based on the given filter and pagination.
34 // It returns a slice of subject reference IDs, a continuous token indicating the position in the data set, and any error encountered.

Callers 8

ReadAttributesMethod · 0.65
ReadAttributesMethod · 0.65
ReadAttributesMethod · 0.65

Implementers 5

NoopDataReaderinternal/storage/storage.go
DataReaderinternal/storage/proxies/circuitbreake
DataReaderinternal/storage/proxies/singleflight/
DataReaderinternal/storage/postgres/data_reader.
DataReaderinternal/storage/memory/data_reader.go

Calls

no outgoing calls

Tested by

no test coverage detected