executeMap method

  1. @Deprecated('Use executeWith(StatementParameters.named) instead')
void executeMap(
  1. Map<String, Object?> parameters
)

Executes this statement, ignoring result rows if there are any.

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.

Unlike execute, which binds parameters by their index, executeMap binds parameters by their name. For instance, a SQL query SELECT :foo, @bar; has two named parameters (:foo and @bar) that can occur as keys in parameters.

Implementation

@Deprecated('Use executeWith(StatementParameters.named) instead')
void executeMap(Map<String, Object?> parameters) {
  return executeWith(StatementParameters.named(parameters));
}