execute method

  1. @override
Future<ResultSet> execute(
  1. String sql, [
  2. List<Object?> parameters = const []
])
override

Execute a write query (INSERT, UPDATE, DELETE) and return the results (if any).

Implementation

@override
Future<sqlite.ResultSet> execute(String sql,
    [List<Object?> parameters = const []]) async {
  return writeLock((ctx) async {
    return ctx.execute(sql, parameters);
  }, debugContext: 'execute()');
}