excuteRawQuery abstract method

Future<JobDone> excuteRawQuery(
  1. String sql, [
  2. List<Object?>? arguments
])

Executes a raw SQL query with optional arguments and returns a Future that completes with a JobDone object.

The sql parameter is the raw SQL query to execute.

The arguments parameter is an optional list of arguments to replace placeholders in the sql query.

Example usage:

final result = await excuteRawQuery(
  'SELECT * FROM users WHERE age > ?', [18],
);

Implementation

Future<JobDone> excuteRawQuery(String sql, [List<Object?>? arguments]);