mapToSqlParameter method

  1. @override
Object mapToSqlParameter(
  1. GenerationContext context,
  2. DartT dartValue
)

Maps the dartValue to a value understood by the underlying database driver.

Implementation

@override
Object mapToSqlParameter(GenerationContext context, DartT dartValue) {
  return codec.encode(dartValue);
}