getTableInfo method

  1. @override
Statement getTableInfo(
  1. QualifiedTablename table
)
override

Fetches information about the columns of a table. The information includes all column names, their type, whether or not they are nullable, and whether they are part of the PK.

Implementation

@override
Statement getTableInfo(QualifiedTablename table) {
  return Statement(
    'SELECT name, type, "notnull", dflt_value, pk FROM pragma_table_info(?)',
    [table.tablename],
  );
}