table_list method

List<LiteTableItem> table_list({
  1. String? table,
  2. String? schema,
})

Implementation

List<LiteTableItem> table_list({String? table, String? schema}) {
  StringBuffer buf = StringBuffer();
  buf.write("table_list"._schema(schema));
  if (table.notEmpty) {
    buf.write("(${table!.singleQuoted})");
  }
  return query(buf.toString()).mapList((e) => (schema: e["schema"], name: e["name"], type: e["type"], ncol: e["ncol"], wr: e["wr"], strict: e["strict"]));
}