📜  学习 sqlite dart - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:34.951000             🧑  作者: Mango

代码示例1
createDatabase() async {
  String databasesPath = await getDatabasesPath();
  String dbPath = join(databasesPath, 'my.db');

  var database = await openDatabase(dbPath, version: 1, onCreate: populateDb);
  return database;
}