getCurrentDatabase static method
获取当前数据库对象
Implementation
static Future<Database> getCurrentDatabase() async {
if (_database == null) {
await init();
}
return _database!;
}
获取当前数据库对象
static Future<Database> getCurrentDatabase() async {
if (_database == null) {
await init();
}
return _database!;
}