StatementParameters.named constructor

const StatementParameters.named(
  1. Map<String, Object?> parameters
)

Passes variables by their name.

For instance, the statement SELECT * FROM users WHERE id = :id could be bound with StatementParameters.named({':a': 42}).

Implementation

const factory StatementParameters.named(Map<String, Object?> parameters) =
    NamedParameters;