printTablesDefinitions

This function returns definitions of only those in-memory tables which already have some lines loaded. I.e. if you have just defined the table, this function will not show anything.

def tableContext = api.getTableContext()
tableContext.createTableFromProductMaster("P", ["sku", "attribute1"])
def resultIterator = api.stream("P", null)
if (resultIterator) tableContext.loadRows("P", resultIterator)

api.trace("Tables", null,
        tableContext.printTablesDefinitions("%")
)

Found an issue in documentation? Write to us.

Â