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

Method CreateEntityIterator

pkg/database/collections.go:100–104  ·  view source on GitHub ↗

CreateEntityIterator - Create entity iterator according to collection.

()

Source from the content-addressed store, hash-verified

98
99// CreateEntityIterator - Create entity iterator according to collection.
100func (e *EntityCollection) CreateEntityIterator() *EntityIterator {
101 return &EntityIterator{
102 entities: e.entities,
103 }
104}
105
106// GetEntities - Get entities
107func (e *EntityCollection) GetEntities() []*base.Entity {

Callers 2

TestEntityIteratorFunction · 0.95
TestEntityCollectionFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestEntityIteratorFunction · 0.76
TestEntityCollectionFunction · 0.76