table_info method

List<LiteTableInfo> table_info(
  1. String table, {
  2. String? schema,
})

Implementation

List<LiteTableInfo> table_info(String table, {String? schema}) {
  return query("table_info"._schema(schema), args: [table])
      .mapList((e) => (name: e["name"], cid: e["cid"], type: e["type"] ?? "TEXT", notnull: e["notnull"], dflt_value: e["dflt_value"], pk: e["pk"]));
}