Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTupleSetReferenceReference ¶ added in v0.4.1
func GetTupleSetReferenceReference(definition *base.RelationDefinition) string
GetTupleSetReferenceReference iterates through the relation references and returns the first reference that doesn't contain a "#" symbol. If no such reference is found, it returns the tuple.USER constant.
Types ¶
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
Graph - Graph Structure
func EntityToGraph ¶
func EntityToGraph(entity *base.EntityDefinition) (g Graph, err error)
EntityToGraph takes an entity definition and converts it into a graph representation, returning the created graph and an error if any occurs.
func SchemaToGraph ¶
func SchemaToGraph(schema *base.SchemaDefinition) (g Graph, err error)
SchemaToGraph takes a schema definition and converts it into a graph representation, returning the created graph and an error if any occurs.
Click to show internal directories.
Click to hide internal directories.