Skip to content

Instantly share code, notes, and snippets.

@Rahiche
Created December 11, 2018 13:56
Show Gist options
  • Save Rahiche/9177866df22b0d3a06f963d377ff3009 to your computer and use it in GitHub Desktop.
Save Rahiche/9177866df22b0d3a06f963d377ff3009 to your computer and use it in GitHub Desktop.
newClient(Client newClient) async {
final db = await database;
var res = await db.rawInsert(
"INSERT Into Client (id,first_name)"
" VALUES (${newClient.id},${newClient.firstName})");
return res;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment