RowEncoder

usql.RowEncoder
See theRowEncoder companion object
trait RowEncoder[T]

Responsible for filling arguments into prepared statements for batch operations.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def cardinality: Int

The number of elements set by this filler

The number of elements set by this filler

Attributes

def fill(offset: Int, ps: PreparedStatement, value: T): Unit

Fill something at the zero-based position index into the prepared statement.

Fill something at the zero-based position index into the prepared statement.

Attributes

Concrete methods

def contraMap[U](f: U => T): RowEncoder[U]
def fill(ps: PreparedStatement, value: T): Unit

Fill at position 0

Fill at position 0

Attributes