selectMap method

  1. @Deprecated('Use selectWith(StatementParameters.named) instead')
ResultSet selectMap(
  1. Map<String, Object?> parameters
)

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.

Similar to executeMap, parameters are bound by their name instead of their index.

Implementation

@Deprecated('Use selectWith(StatementParameters.named) instead')
ResultSet selectMap(Map<String, Object?> parameters) {
  return selectWith(StatementParameters.named(parameters));
}