Packages

c

slick.jdbc

PositionedParameters

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.

Source
PositionedParameters.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PositionedParameters
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PositionedParameters(ps: PreparedStatement)

Value Members

  1. 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.

  2. var pos: Int
  3. val ps: PreparedStatement
  4. def setBigDecimal(value: BigDecimal): Unit

    Set the next parameter

  5. def setBigDecimalOption(value: Option[BigDecimal]): Unit

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

  6. def setBlob(value: Blob): Unit

    Set the next parameter

  7. def setBlobOption(value: Option[Blob]): Unit

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

  8. def setBoolean(value: Boolean): Unit

    Set the next parameter

  9. def setBooleanOption(value: Option[Boolean]): Unit

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

  10. def setByte(value: Byte): Unit

    Set the next parameter

  11. def setByteOption(value: Option[Byte]): Unit

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

  12. def setBytes(value: Array[Byte]): Unit

    Set the next parameter

  13. def setBytesOption(value: Option[Array[Byte]]): Unit

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

  14. def setClob(value: Clob): Unit

    Set the next parameter

  15. def setClobOption(value: Option[Clob]): Unit

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

  16. def setDate(value: Date): Unit

    Set the next parameter

  17. def setDateOption(value: Option[Date]): Unit

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

  18. def setDouble(value: Double): Unit

    Set the next parameter

  19. def setDoubleOption(value: Option[Double]): Unit

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

  20. def setFloat(value: Float): Unit

    Set the next parameter

  21. def setFloatOption(value: Option[Float]): Unit

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

  22. def setInt(value: Int): Unit

    Set the next parameter

  23. def setIntOption(value: Option[Int]): Unit

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

  24. def setLong(value: Long): Unit

    Set the next parameter

  25. def setLongOption(value: Option[Long]): Unit

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

  26. def setNull(sqlType: Int): Unit

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

  27. 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.

  28. def setObjectOption(value: Option[AnyRef], sqlType: Int): Unit

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

  29. def setShort(value: Short): Unit

    Set the next parameter

  30. def setShortOption(value: Option[Short]): Unit

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

  31. def setString(value: String): Unit

    Set the next parameter

  32. def setStringOption(value: Option[String]): Unit

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

  33. def setTime(value: Time): Unit

    Set the next parameter

  34. def setTimeOption(value: Option[Time]): Unit

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

  35. def setTimestamp(value: Timestamp): Unit

    Set the next parameter

  36. def setTimestampOption(value: Option[Timestamp]): Unit

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