class PositionedParameters extends AnyRef
A wrapper for a JDBC PreparedStatement
which allows inceremental setting of
parameters without having to sepcify the column index each time.
- Alphabetic
- By Inheritance
- PositionedParameters
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PositionedParameters(ps: PreparedStatement)
Value Members
- 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. - var pos: Int
- val ps: PreparedStatement
- def setBigDecimal(value: BigDecimal): Unit
Set the next parameter
- def setBigDecimalOption(value: Option[BigDecimal]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setBlob(value: Blob): Unit
Set the next parameter
- def setBlobOption(value: Option[Blob]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setBoolean(value: Boolean): Unit
Set the next parameter
- def setBooleanOption(value: Option[Boolean]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setByte(value: Byte): Unit
Set the next parameter
- def setByteOption(value: Option[Byte]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setBytes(value: Array[Byte]): Unit
Set the next parameter
- def setBytesOption(value: Option[Array[Byte]]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setClob(value: Clob): Unit
Set the next parameter
- def setClobOption(value: Option[Clob]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setDate(value: Date): Unit
Set the next parameter
- def setDateOption(value: Option[Date]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setDouble(value: Double): Unit
Set the next parameter
- def setDoubleOption(value: Option[Double]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setFloat(value: Float): Unit
Set the next parameter
- def setFloatOption(value: Option[Float]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setInt(value: Int): Unit
Set the next parameter
- def setIntOption(value: Option[Int]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setLong(value: Long): Unit
Set the next parameter
- def setLongOption(value: Option[Long]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setNull(sqlType: Int): Unit
Set the next parameter to SQL NULL with the specified SQL type code.
- 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.
- def setObjectOption(value: Option[AnyRef], sqlType: Int): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setShort(value: Short): Unit
Set the next parameter
- def setShortOption(value: Option[Short]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setString(value: String): Unit
Set the next parameter
- def setStringOption(value: Option[String]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setTime(value: Time): Unit
Set the next parameter
- def setTimeOption(value: Option[Time]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setTimestamp(value: Timestamp): Unit
Set the next parameter
- def setTimestampOption(value: Option[Timestamp]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...