object DbParameterUtils
This trait provides utility methods for database operations, specifically for retrieving integer array data from parameters in the database.
- Alphabetic
- By Inheritance
- DbParameterUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getDataArrayOResultsDb[A](storageProfile: Profile, deserialize: (Int) => A)(implicit arg0: ClassTag[A]): GetResult[Option[Array[A]]]
Retrieves an array of integers from the database and deserializes it to the correct type.
Retrieves an array of integers from the database and deserializes it to the correct type. This function supports different database profiles (H2 and Postgres) for handling array results.
- A
The type to which the integers will be deserialized.
- storageProfile
lists the type of storage (i.e. H2 or Postgres).
- deserialize
A function that converts an
Int
into typeA
.
- Annotations
- @SuppressWarnings()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def setArrayIntOParameterDb(maybeArray: Option[Array[Int]], pp: PositionedParameters): Unit
Sets an array of integers as a database parameter.
Sets an array of integers as a database parameter.
- maybeArray
An optional array of integers. If
None
, the parameter is set to null.- pp
A
PositionedParameters
object, which is used to set the database parameter.
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])