runWithArgs method
Calls run(sql, args)
on the underlying js api
Implementation
void runWithArgs(String sql, List<dynamic> args) {
if (args.isEmpty) {
// Call run without providing arguments. sql.js will then use sqlite3_exec
// internally, which supports running multiple statements at once. This
// matches the behavior from a `NativeDatabase`.
_obj.runNoArgs(sql.toJS);
} else {
_obj.run(sql.toJS, _replaceDartBigInts(args));
}
}