PositionedParameters

slick.jdbc.PositionedParameters
class PositionedParameters(val ps: PreparedStatement)

A wrapper for a JDBC PreparedStatement which allows inceremental setting of parameters without having to sepcify the column index each time.

Attributes

Source:
PositionedParameters.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def >>[T](value: T)(implicit f: SetParameter[T]): Unit

Set the next parameter of the specified type, provided that a SetParameter instance is available for it.

Set the next parameter of the specified type, provided that a SetParameter instance is available for it.

Attributes

Source:
PositionedParameters.scala
def setBigDecimal(value: BigDecimal): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setBigDecimalOption(value: Option[BigDecimal]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setBlob(value: Blob): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setBlobOption(value: Option[Blob]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setBoolean(value: Boolean): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setBooleanOption(value: Option[Boolean]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setByte(value: Byte): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setByteOption(value: Option[Byte]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setBytes(value: Array[Byte]): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setBytesOption(value: Option[Array[Byte]]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setClob(value: Clob): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setClobOption(value: Option[Clob]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setDate(value: Date): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setDateOption(value: Option[Date]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setDouble(value: Double): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setDoubleOption(value: Option[Double]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setFloat(value: Float): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setFloatOption(value: Option[Float]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setInt(value: Int): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setIntOption(value: Option[Int]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setLong(value: Long): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setLongOption(value: Option[Long]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setNull(sqlType: Int): Unit

Set the next parameter to SQL NULL with the specified SQL type code.

Set the next parameter to SQL NULL with the specified SQL type code.

Attributes

Source:
PositionedParameters.scala
def setObject(value: AnyRef, sqlType: Int): Unit

Set the next parameter to an object of a driver-specific type that corresponds to the specified SQL type code.

Set the next parameter to an object of a driver-specific type that corresponds to the specified SQL type code.

Attributes

Source:
PositionedParameters.scala
def setObjectOption(value: Option[AnyRef], sqlType: Int): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setShort(value: Short): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setShortOption(value: Option[Short]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setString(value: String): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setStringOption(value: Option[String]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setTime(value: Time): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setTimeOption(value: Option[Time]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala
def setTimestamp(value: Timestamp): Unit

Set the next parameter

Set the next parameter

Attributes

Source:
PositionedParameters.scala
def setTimestampOption(value: Option[Timestamp]): Unit

Set the next parameter to the specified value or a properly typed SQL NULL

Set the next parameter to the specified value or a properly typed SQL NULL

Attributes

Source:
PositionedParameters.scala

Concrete fields

var pos: Int
val ps: PreparedStatement