preparedstatement

doobie.hi.preparedstatement$

Module of high-level constructors for PreparedStatementIO actions. Batching operations are not provided; see the statement module for this functionality.

Attributes

Source:
preparedstatement.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Parameters

def set[A](a: A)(implicit A: Write[A]): PreparedStatementIO[Unit]

Set the given writable value.

Set the given writable value.

Attributes

Source:
preparedstatement.scala

Results

def getGeneratedKeys[A](k: ResultSetIO[A]): PreparedStatementIO[A]

Attributes

Source:
preparedstatement.scala
def getUniqueGeneratedKeys[A](using evidence$9: Read[A]): PreparedStatementIO[A]

Attributes

Source:
preparedstatement.scala
val getWarnings: PreparedStatementIO[SQLWarning]

Attributes

Source:
preparedstatement.scala

Metadata

def getColumnJdbcMeta: PreparedStatementIO[List[ColumnMeta]]

Compute the column JdbcMeta list for this PreparedStatement.

Compute the column JdbcMeta list for this PreparedStatement.

Attributes

Source:
preparedstatement.scala
def getColumnMappings[A](implicit A: Read[A]): PreparedStatementIO[List[Ior[(Get[_], NullabilityKnown), ColumnMeta]]]

Compute the column mappings for this PreparedStatement by aligning its JdbcMeta with the JdbcMeta provided by a Write instance.

Compute the column mappings for this PreparedStatement by aligning its JdbcMeta with the JdbcMeta provided by a Write instance.

Attributes

Source:
preparedstatement.scala
def getParameterJdbcMeta: PreparedStatementIO[List[ParameterMeta]]

Compute the parameter JdbcMeta list for this PreparedStatement.

Compute the parameter JdbcMeta list for this PreparedStatement.

Attributes

Source:
preparedstatement.scala
def getParameterMappings[A](implicit A: Write[A]): PreparedStatementIO[List[Ior[(Put[_], NullabilityKnown), ParameterMeta]]]

Compute the parameter mappings for this PreparedStatement by aligning its JdbcMeta with the JdbcMeta provided by a Write instance.

Compute the parameter mappings for this PreparedStatement by aligning its JdbcMeta with the JdbcMeta provided by a Write instance.

Attributes

Source:
preparedstatement.scala

Batching

val addBatch: PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def addBatches[F[_], A](fa: F[A])(using evidence$5: Foldable[F], evidence$6: Write[A]): PreparedStatementIO[Unit]

Add many sets of parameters.

Add many sets of parameters.

Attributes

Source:
preparedstatement.scala
def addBatchesAndExecute[F[_], A](fa: F[A])(using evidence$3: Foldable[F], evidence$4: Write[A]): PreparedStatementIO[Int]

Add many sets of parameters and execute as a batch update, returning total rows updated. Note that failed updates are not reported (see https://github.com/tpolecat/doobie/issues/706). This API is likely to change.

Add many sets of parameters and execute as a batch update, returning total rows updated. Note that failed updates are not reported (see https://github.com/tpolecat/doobie/issues/706). This API is likely to change.

Attributes

Source:
preparedstatement.scala
val executeBatch: PreparedStatementIO[List[Int]]

Attributes

Source:
preparedstatement.scala

MetaData

val getMetaData: PreparedStatementIO[ResultSetMetaData]

Attributes

Source:
preparedstatement.scala
val getParameterMetaData: PreparedStatementIO[ParameterMetaData]

Attributes

Source:
preparedstatement.scala

Properties

val getFetchDirection: PreparedStatementIO[FetchDirection]

Attributes

Source:
preparedstatement.scala
val getFetchSize: PreparedStatementIO[Int]

Attributes

Source:
preparedstatement.scala
val getMaxFieldSize: PreparedStatementIO[Int]

Attributes

Source:
preparedstatement.scala
val getMaxRows: PreparedStatementIO[Int]

Attributes

Source:
preparedstatement.scala
val getQueryTimeout: PreparedStatementIO[Int]

Attributes

Source:
preparedstatement.scala

Attributes

Source:
preparedstatement.scala
val getResultSetHoldability: PreparedStatementIO[Holdability]

Attributes

Source:
preparedstatement.scala
val getResultSetType: PreparedStatementIO[ResultSetType]

Attributes

Source:
preparedstatement.scala
def setCursorName(name: String): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def setEscapeProcessing(a: Boolean): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def setFetchDirection(fd: FetchDirection): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def setFetchSize(n: Int): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def setMaxFieldSize(n: Int): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def setMaxRows(n: Int): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala
def setQueryTimeout(a: Int): PreparedStatementIO[Unit]

Attributes

Source:
preparedstatement.scala

Execution

def executeQuery[A](k: ResultSetIO[A]): PreparedStatementIO[A]

Attributes

Source:
preparedstatement.scala
val executeUpdate: PreparedStatementIO[Int]

Attributes

Source:
preparedstatement.scala
def executeUpdateWithGeneratedKeys[A](chunkSize: Int)(using evidence$8: Read[A]): Stream[PreparedStatementIO, A]

Attributes

Source:
preparedstatement.scala
def executeUpdateWithUniqueGeneratedKeys[A](using evidence$7: Read[A]): PreparedStatementIO[A]

Attributes

Source:
preparedstatement.scala
def stream[A](chunkSize: Int)(using evidence$2: Read[A]): Stream[PreparedStatementIO, A]

Attributes

Source:
preparedstatement.scala

Constructors (Lifting)

def delay[A](a: => A): PreparedStatementIO[A]

Non-strict unit for capturing effects.

Non-strict unit for capturing effects.

Attributes

Source:
preparedstatement.scala