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

Method Add

pkg/database/collections.go:144–146  ·  view source on GitHub ↗

Add - New subject to collection.

(attribute *base.Attribute)

Source from the content-addressed store, hash-verified

142
143// Add - New subject to collection.
144func (t *AttributeCollection) Add(attribute *base.Attribute) {
145 t.attributes = append(t.attributes, attribute)
146}
147
148// TupleBundle defines a structure for managing collections of tuples,
149// with separate collections for write (create/update) and delete operations.

Callers 3

TestAttributeCollectionFunction · 0.95
OperationFunction · 0.95
QueryAttributesMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestAttributeCollectionFunction · 0.76