# setValue

open fun setValue(statement: Statement, dialect: DatabaseDialect, typeMapping: R2dbcTypeMapping, columnType: IColumnType<*>, value: Any?, index: Int): Boolean

Sets a value in the statement.

#### Return

True if the value was set, false otherwise.

#### Parameters

statement

The statement to set the value in.

dialect

The database dialect.

typeMapping

The registry of type mappers.

columnType

The column type.

value

The value to set (can be null).

index

The index of the parameter in the statement.