Documentation
¶
Index ¶
- func EvalObject(ctx context.Context, doc *enigma.Doc, objectID string)
- func PrintApps(docList []*enigma.DocListEntry, printAsJSON bool)
- func PrintAssociations(data *internal.ModelMetadata)
- func PrintFields(data *internal.ModelMetadata, keyOnly bool)
- func PrintMetadata(data *internal.ModelMetadata)
- func PrintObject(state *internal.State, objectID string)
- func PrintObjectLayout(state *internal.State, objectID string)
- func PrintObjects(allInfos []*enigma.NxInfo)
- func PrintStatus(state *internal.State, engine string)
- func PrintTables(data *internal.ModelMetadata)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalObject ¶ added in v0.0.4
EvalObject evalutes the data of the object identified by objectID
func PrintApps ¶ added in v0.0.3
func PrintApps(docList []*enigma.DocListEntry, printAsJSON bool)
PrintApps prints a list of apps and some meta to system out.
func PrintAssociations ¶
func PrintAssociations(data *internal.ModelMetadata)
PrintAssociations prints a list of associations to system out.
func PrintFields ¶
func PrintFields(data *internal.ModelMetadata, keyOnly bool)
PrintFields prints a table sof fields along with various metadata to system out.
func PrintMetadata ¶
func PrintMetadata(data *internal.ModelMetadata)
PrintMetadata prints fields tables and associations to system out.
func PrintObject ¶ added in v0.0.4
PrintObject prints the properties of the object defined by objectID
func PrintObjectLayout ¶ added in v0.0.4
PrintObjectLayout prints the layout of the object defined by objectID
func PrintObjects ¶ added in v0.0.4
PrintObjects prints a list of the id and type of all objects in the app
func PrintStatus ¶ added in v0.0.3
PrintStatus prints the name of the app and the engine corectl is connected to. It also prints if the data model is empty or not
func PrintTables ¶
func PrintTables(data *internal.ModelMetadata)
PrintTables prints a list of tables along with meta data to system out.
Types ¶
This section is empty.