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

Method GetAttributes

pkg/database/collections.go:132–134  ·  view source on GitHub ↗

GetAttributes - Get entities

()

Source from the content-addressed store, hash-verified

130
131// GetAttributes - Get entities
132func (t *AttributeCollection) GetAttributes() []*base.Attribute {
133 return t.attributes
134}
135
136// CreateAttributeIterator - Create tuple iterator according to collection.
137func (t *AttributeCollection) CreateAttributeIterator() *AttributeIterator {

Callers 5

TestAttributeCollectionFunction · 0.95
TestEmptyCollectionsFunction · 0.95
TestBundlesFunction · 0.45
extractAttributesFunction · 0.45
EntityToGraphMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestAttributeCollectionFunction · 0.76
TestEmptyCollectionsFunction · 0.76
TestBundlesFunction · 0.36