select method

ResultSet select([
  1. List<Object?> parameters = const <Object>[]
])
inherited

Selects all rows into a ResultSet.

If the parameters list does not match the amount of parameters in the original SQL statement (parameterCount), an ArgumentError will be thrown. See StatementParameters for a list of types supported by this library. If sqlite3 reports an error while running this statement, a SqliteException will be thrown.

This statement doesn't have to be a SELECT statement for selectWith to be useful - writes with RETURNING clauses also return rows which can be fetched via selectWith.

Implementation

ResultSet select([List<Object?> parameters = const <Object>[]]) {
  return selectWith(StatementParameters(parameters));
}