createTableSQL method

Future<List<String?>> createTableSQL(
  1. String sqls
)

Perform a create table SQL.

Implementation

Future<List<String?>> createTableSQL(String sqls) async {
  var list = DBSQLAdapter.extractTableSQLs(sqls);
  if (list.isEmpty) return <String>[];

  var results = Future.wait(list.map(runSQL));
  return results;
}