Documentation ¶
Index ¶
- func GetActionByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (actionDefinition *base.ActionDefinition, err error)
- func GetActionWithKey(schema *base.IndexedSchema, key string) (actionDefinition *base.ActionDefinition, err error)
- func GetColumn(definition *base.RelationDefinition) (string, bool)
- func GetEntityByName(schema *base.IndexedSchema, name string) (entityDefinition *base.EntityDefinition, err error)
- func GetEntityReference(definition *base.RelationDefinition) string
- func GetIdentifier(definition *base.EntityDefinition) string
- func GetRelationByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationDefinition *base.RelationDefinition, err error)
- func GetRelationWithKey(schema *base.IndexedSchema, key string) (relationDefinition *base.RelationDefinition, err error)
- func GetTable(definition *base.EntityDefinition) string
- func GetTypeOfRelationalReferenceByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationalDefinitionType base.EntityDefinition_RelationalReference, err error)
- func NewSchema(entities ...*base.EntityDefinition) (schema *base.IndexedSchema)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionByNameInEntityDefinition ¶
func GetActionByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (actionDefinition *base.ActionDefinition, err error)
GetActionByNameInEntityDefinition -
func GetActionWithKey ¶
func GetActionWithKey(schema *base.IndexedSchema, key string) (actionDefinition *base.ActionDefinition, err error)
GetActionWithKey Key -> entity_name#action_name
func GetEntityByName ¶
func GetEntityByName(schema *base.IndexedSchema, name string) (entityDefinition *base.EntityDefinition, err error)
GetEntityByName -
func GetEntityReference ¶
func GetEntityReference(definition *base.RelationDefinition) string
GetEntityReference -
func GetRelationByNameInEntityDefinition ¶
func GetRelationByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationDefinition *base.RelationDefinition, err error)
GetRelationByNameInEntityDefinition -
func GetRelationWithKey ¶
func GetRelationWithKey(schema *base.IndexedSchema, key string) (relationDefinition *base.RelationDefinition, err error)
GetRelationWithKey Key -> entity_name#relation_name
func GetTypeOfRelationalReferenceByNameInEntityDefinition ¶
func GetTypeOfRelationalReferenceByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationalDefinitionType base.EntityDefinition_RelationalReference, err error)
GetTypeOfRelationalReferenceByNameInEntityDefinition -
func NewSchema ¶
func NewSchema(entities ...*base.EntityDefinition) (schema *base.IndexedSchema)
NewSchema -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.