Created
June 30, 2022 09:29
-
-
Save nbnD/2865b0bdef0a66c7dc88251afea97d50 to your computer and use it in GitHub Desktop.
CRUD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static Future<sql.Database> db() async { | |
return sql.openDatabase( | |
'nabindhakal.db', | |
version: 1, | |
onCreate: (sql.Database database, int version) async { | |
await createTables(database); | |
}, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment