Skip to content

Instantly share code, notes, and snippets.

@becek2n
Created May 9, 2020 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save becek2n/8f891bc3ab6b0a64e3ec4630251d4094 to your computer and use it in GitHub Desktop.
Save becek2n/8f891bc3ab6b0a64e3ec4630251d4094 to your computer and use it in GitHub Desktop.
Future<int> deleteKaryawan(id) async{
var dbClient = await db;
int res = await dbClient.delete("Karyawan", where: "id = ?", whereArgs: [id]);
return res;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment