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

Method ToAttribute

internal/storage/model.go:50–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (r Attribute) ToAttribute() *base.Attribute {
51 return &base.Attribute{
52 Entity: &base.Entity{
53 Type: r.EntityType,
54 Id: r.EntityID,
55 },
56 Attribute: r.Attribute,
57 Value: r.Value,
58 }
59}
60
61// SchemaDefinition - Structure for Schema Definition
62type SchemaDefinition struct {

Callers 7

QuerySingleAttributeMethod · 0.95
QueryAttributesMethod · 0.95
ReadAttributesMethod · 0.95
getChangesMethod · 0.95
QuerySingleAttributeMethod · 0.80
QueryAttributesMethod · 0.80
ReadAttributesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected