raw method

Future<SqlResult> raw(
  1. Sql sql, {
  2. ExecutionOptions options = const ExecutionOptions(),
  3. Iterable<TableSchema> changedTables = const [],
})

Executes exactly the supplied statement and returns positional rows, labels and write metadata. Raw writes declare changedTables for watches.

Implementation

Future<SqlResult> raw(
  Sql sql, {
  ExecutionOptions options = const ExecutionOptions(),
  Iterable<TableSchema> changedTables = const [],
}) => execute(
  sql.compile(capabilities),
  options: options,
  changedTables: changedTables,
);