object preparedstatement
Module of high-level constructors for PreparedStatementIO
actions. Batching operations are not
provided; see the statement
module for this functionality.
- Source
- preparedstatement.scala
- Grouped
- Alphabetic
- By Inheritance
- preparedstatement
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val addBatch: hi.PreparedStatementIO[Unit]
-
def
addBatches[F[_], A](fa: F[A])(implicit arg0: Foldable[F], arg1: util.Write[A]): hi.PreparedStatementIO[Unit]
Add many sets of parameters.
-
def
addBatchesAndExecute[F[_], A](fa: F[A])(implicit arg0: Foldable[F], arg1: util.Write[A]): hi.PreparedStatementIO[Int]
Add many sets of parameters and execute as a batch update, returning total rows updated.
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
delay[A](a: ⇒ A): hi.PreparedStatementIO[A]
Non-strict unit for capturing effects.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val executeBatch: hi.PreparedStatementIO[List[Int]]
- def executeQuery[A](k: hi.ResultSetIO[A]): hi.PreparedStatementIO[A]
- val executeUpdate: hi.PreparedStatementIO[Int]
- def executeUpdateWithGeneratedKeys[A](chunkSize: Int)(implicit arg0: util.Read[A]): Stream[hi.PreparedStatementIO, A]
- def executeUpdateWithUniqueGeneratedKeys[A](implicit arg0: util.Read[A]): hi.PreparedStatementIO[A]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getColumnJdbcMeta: hi.PreparedStatementIO[List[ColumnMeta]]
Compute the column
JdbcMeta
list for thisPreparedStatement
. -
def
getColumnMappings[A](implicit A: util.Read[A]): hi.PreparedStatementIO[List[Ior[(util.Get[_], NullabilityKnown), ColumnMeta]]]
Compute the column mappings for this
PreparedStatement
by aligning itsJdbcMeta
with theJdbcMeta
provided by aWrite
instance. - val getFetchDirection: hi.PreparedStatementIO[FetchDirection]
- val getFetchSize: hi.PreparedStatementIO[Int]
- def getGeneratedKeys[A](k: hi.ResultSetIO[A]): hi.PreparedStatementIO[A]
- val getMaxFieldSize: hi.PreparedStatementIO[Int]
- val getMaxRows: hi.PreparedStatementIO[Int]
- val getMetaData: hi.PreparedStatementIO[ResultSetMetaData]
-
def
getParameterJdbcMeta: hi.PreparedStatementIO[List[ParameterMeta]]
Compute the parameter
JdbcMeta
list for thisPreparedStatement
. -
def
getParameterMappings[A](implicit A: util.Write[A]): hi.PreparedStatementIO[List[Ior[(util.Put[_], NullabilityKnown), ParameterMeta]]]
Compute the parameter mappings for this
PreparedStatement
by aligning itsJdbcMeta
with theJdbcMeta
provided by aWrite
instance. - val getParameterMetaData: hi.PreparedStatementIO[ParameterMetaData]
- val getQueryTimeout: hi.PreparedStatementIO[Int]
- val getResultSetConcurrency: hi.PreparedStatementIO[ResultSetConcurrency]
- val getResultSetHoldability: hi.PreparedStatementIO[Holdability]
- val getResultSetType: hi.PreparedStatementIO[ResultSetType]
- def getUniqueGeneratedKeys[A](implicit arg0: util.Read[A]): hi.PreparedStatementIO[A]
- val getWarnings: hi.PreparedStatementIO[SQLWarning]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
set[A](a: A)(implicit A: util.Write[A]): hi.PreparedStatementIO[Unit]
Set the given writable value, starting at column
1
. -
def
set[A](n: Int, a: A)(implicit A: util.Write[A]): hi.PreparedStatementIO[Unit]
Set the given writable value, starting at column
n
. - def setCursorName(name: String): hi.PreparedStatementIO[Unit]
- def setEscapeProcessing(a: Boolean): hi.PreparedStatementIO[Unit]
- def setFetchDirection(fd: FetchDirection): hi.PreparedStatementIO[Unit]
- def setFetchSize(n: Int): hi.PreparedStatementIO[Unit]
- def setMaxFieldSize(n: Int): hi.PreparedStatementIO[Unit]
- def setMaxRows(n: Int): hi.PreparedStatementIO[Unit]
- def setQueryTimeout(a: Int): hi.PreparedStatementIO[Unit]
- def stream[A](chunkSize: Int)(implicit arg0: util.Read[A]): Stream[hi.PreparedStatementIO, A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )