JdbcScalarFunctionTest

com.typesafe.slick.testkit.tests.JdbcScalarFunctionTest

Attributes

Source
JdbcScalarFunctionTest.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

implicit class AssertionExtensionMethods[T](v: T)

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
class Object
trait Matchable
class Any
implicit class CollectionAssertionExtensionMethods[T](v: IterableOnce[T])

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
class Object
trait Matchable
class Any
implicit class CollectionDBIOActionExtensionMethods[T, +S <: NoStream, -E <: Effect](action: DBIOAction[Vector[T], S, E])

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
class Object
trait Matchable
class Any
implicit class DBIOActionExtensionMethods[T, +S <: NoStream, -E <: Effect](action: DBIOAction[T, S, E])

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
class Object
trait Matchable
class Any
object GetSession extends SynchronousDatabaseAction[Session, NoStream, Context, StreamingContext, Effect]

Test Action: Get the current database session

Test Action: Get the current database session

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
trait SynchronousDatabaseAction[Session, NoStream, Context, StreamingContext, Effect]
trait DatabaseAction[Session, NoStream, Effect]
trait DBIOAction[Session, NoStream, Effect]
trait Dumpable
class Object
trait Matchable
class Any
Show all
object GetStatementParameters extends SynchronousDatabaseAction[StatementParameters, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]

Test Action: Get the current statement parameters, except for statementInit which is always set to null

Test Action: Get the current statement parameters, except for statementInit which is always set to null

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
trait SynchronousDatabaseAction[StatementParameters, NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
trait DatabaseAction[StatementParameters, NoStream, Effect]
trait DBIOAction[StatementParameters, NoStream, Effect]
trait Dumpable
class Object
trait Matchable
class Any
Show all
object GetTransactionality extends SynchronousDatabaseAction[(Int, Boolean), NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]

Test Action: Get the current transactionality level and autoCommit flag

Test Action: Get the current transactionality level and autoCommit flag

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
trait SynchronousDatabaseAction[(Int, Boolean), NoStream, JdbcActionContext, JdbcStreamingActionContext, Effect]
trait DatabaseAction[(Int, Boolean), NoStream, Effect]
trait DBIOAction[(Int, Boolean), NoStream, Effect]
trait Dumpable
class Object
trait Matchable
class Any
Show all
object IsPinned extends SynchronousDatabaseAction[Boolean, NoStream, Context, StreamingContext, Effect]

Test Action: Check if the current database session is pinned

Test Action: Check if the current database session is pinned

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
Supertypes
trait SynchronousDatabaseAction[Boolean, NoStream, Context, StreamingContext, Effect]
trait DatabaseAction[Boolean, NoStream, Effect]
trait DBIOAction[Boolean, NoStream, Effect]
trait Dumpable
class Object
trait Matchable
class Any
Show all
implicit class StringExtensionMethods(s: String)

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def test: DBIOAction[Unit, NoStream, Read]

Attributes

Source
JdbcScalarFunctionTest.scala

Inherited methods

def assertNesting(q: Rep[_], exp: Int): Unit

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
final def cleanup(): Unit

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
final def closeKeepAlive(): Unit

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
def foreach[T](p: Publisher[T])(f: T => Any): Future[Unit]

Iterate synchronously over a Reactive Stream.

Iterate synchronously over a Reactive Stream.

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def ifCap[E <: Effect, R](caps: Capability*)(f: => DBIOAction[R, NoStream, E]): DBIOAction[Unit, NoStream, E]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def ifCapF[R](caps: Capability*)(f: => Future[R]): Future[Unit]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def ifCapU[T](caps: Capability*)(f: => T): Unit

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def ifNotCap[E <: Effect, R](caps: Capability*)(f: => DBIOAction[R, NoStream, E]): DBIOAction[Unit, NoStream, E]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def ifNotCapF[R](caps: Capability*)(f: => Future[R]): Future[Unit]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def ifNotCapU[T](caps: Capability*)(f: => T): Unit

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def jcap: JdbcCapabilities.type

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
final def mark[R, S <: NoStream, E <: Effect](id: String, f: => DBIOAction[R, S, E]): DBIOAction[R, S, E]

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
final def mark[T](id: String, f: => T): T

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
def materialize[T](p: Publisher[T]): Future[Vector[T]]

Synchronously consume a Reactive Stream and materialize it as a Vector.

Synchronously consume a Reactive Stream and materialize it as a Vector.

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def materializeAsync[T, R](p: Publisher[T], tr: T => Future[R], delay: Duration): Future[Vector[R]]

Asynchronously consume a Reactive Stream and materialize it as a Vector, requesting new elements one by one and transforming them after the specified delay. This ensures that the transformation does not run in the synchronous database context but still preserves proper sequencing.

Asynchronously consume a Reactive Stream and materialize it as a Vector, requesting new elements one by one and transforming them after the specified delay. This ensures that the transformation does not run in the synchronous database context but still preserves proper sequencing.

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def rcap: RelationalCapabilities.type

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
def scap: SqlCapabilities.type

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
def seq[E <: Effect](actions: DBIOAction[_, NoStream, E]*): DBIOAction[Unit, NoStream, E]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
def tcap: capabilities.type

Attributes

Inherited from:
GenericTest
Source
Testkit.scala

Inherited fields

lazy val db: Database

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
final override val reuseInstance: true

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
final lazy val tdb: JdbcTestDB

Attributes

Inherited from:
GenericTest
Source
Testkit.scala

Implicits

Inherited implicits

final implicit def AssertionExtensionMethods[T](v: T): AssertionExtensionMethods[T]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
final implicit def CollectionAssertionExtensionMethods[T](v: IterableOnce[T]): CollectionAssertionExtensionMethods[T]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
final implicit def CollectionDBIOActionExtensionMethods[T, S <: NoStream, E <: Effect](action: DBIOAction[Vector[T], S, E]): CollectionDBIOActionExtensionMethods[T, S, E]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
final implicit def DBIOActionExtensionMethods[T, S <: NoStream, E <: Effect](action: DBIOAction[T, S, E]): DBIOActionExtensionMethods[T, S, E]

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala
final implicit def StringExtensionMethods(s: String): StringExtensionMethods

Attributes

Inherited from:
GenericTest
Source
Testkit.scala
implicit protected def asyncTestExecutionContext: ExecutionContextExecutor

Attributes

Inherited from:
AsyncTest
Source
Testkit.scala