uuidBinder

com.softinio.duck4s.algebra.ParameterBinder.uuidBinder
object uuidBinder extends ParameterBinder[UUID]

Implicit ParameterBinder for java.util.UUID values.

DuckDB supports UUID natively; this binder uses setObject to pass the UUID directly without string conversion.

Attributes

Since

0.1.4

Example
batch.addBatch((java.util.UUID.randomUUID(), "label"))
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
uuidBinder.type

Members list

Value members

Concrete methods

def bind(stmt: DuckDBPreparedStatement, index: Int, value: UUID): Either[DuckDBError, Unit]

Binds a parameter value to a prepared statement at the specified index.

Binds a parameter value to a prepared statement at the specified index.

Value parameters

index

the parameter index (1-based)

stmt

the prepared statement to bind the parameter to

value

the parameter value to bind

Attributes

Returns

Right(()) on success, Left(DuckDBError) on failure