rawInsert method
Executes a raw SQL INSERT query and returns the last inserted row ID.
Implementation
@override
Future<int> rawInsert(String sqlStmt, [List<dynamic>? arguments]) async {
int recs;
try {
recs = await _dbInt!.rawInsert(sqlStmt, arguments);
_dbError.clear();
} catch (e) {
recs = 0;
final Exception ex = e is Exception ? e : Exception(e.toString());
_dbError.set(ex);
}
return recs;
}