TestXA

class TestXA(xa: XA, lazyTables: () => Set[DbTable]) extends XA with TestDbHelpers
class XA
trait FunctionK[ConnectionIO, IO]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def ![A](query: ConnectionIO[A]): A
Definition Classes
override def tables: Set[DbTable]
Definition Classes

Inherited methods

def and[H[_]](h: FunctionK[ConnectionIO, H]): FunctionK[ConnectionIO, [_] =>> Tuple2K[IO, H, _$9]]

Composes two instances of FunctionK into a new FunctionK that transforms one single functor to a cats.data.Tuple2K of two functors.

Composes two instances of FunctionK into a new FunctionK that transforms one single functor to a cats.data.Tuple2K of two functors.

scala> import cats.arrow.FunctionK
scala> val list2option = λ[FunctionK[List, Option]](_.headOption)
scala> val list2vector = λ[FunctionK[List, Vector]](_.toVector)
scala> val optionAndVector = list2option and list2vector
scala> optionAndVector(List(1,2,3))
res0: cats.data.Tuple2K[Option,Vector,Int] = Tuple2K(Some(1),Vector(1, 2, 3))
Inherited from:
FunctionK
def andThen[H[_]](f: FunctionK[IO, H]): FunctionK[ConnectionIO, H]

Composes two instances of FunctionK into a new FunctionK with this transformation applied first.

Composes two instances of FunctionK into a new FunctionK with this transformation applied first.

Inherited from:
FunctionK
override def apply[A](c: ConnectionIO[A]): IO[A]
Definition Classes
XA -> FunctionK
Inherited from:
XA
def assertRowCountChanges[A](expectations: (String, Int)*)(fn: => A)(implicit l: Line): A
Inherited from:
TestDbHelpers
def compose[E[_]](f: FunctionK[E, ConnectionIO]): FunctionK[E, IO]

Composes two instances of FunctionK into a new FunctionK with this transformation applied last.

Composes two instances of FunctionK into a new FunctionK with this transformation applied last.

Inherited from:
FunctionK
def countRows(tableName: String, where: String): Int
Inherited from:
TestDbHelpers
def countRows(tableName: String): Int
Inherited from:
TestDbHelpers
def debugSelect(sql: String): Unit
Inherited from:
TestDbHelpers
def debugSelectOnError[A](sql: => String)(f: => A): A
Inherited from:
TestDbHelpers
def narrow[F0 <: (ConnectionIO)]: FunctionK[F0, IO]

Narrows the input type of this FunctionK from F to F0

Narrows the input type of this FunctionK from F to F0

Inherited from:
FunctionK
def or[H[_]](h: FunctionK[H, IO]): FunctionK[[_] =>> EitherK[ConnectionIO, H, _$6], IO]

Composes two instances of FunctionK into a new FunctionK that transforms a cats.data.EitherK to a single functor.

Composes two instances of FunctionK into a new FunctionK that transforms a cats.data.EitherK to a single functor.

This transformation will be used to transform left F values while h will be used to transform right H values.

Inherited from:
FunctionK
def printTableCounts(): Unit
Inherited from:
TestDbHelpers
def rowCountChanges[A](fn: => A): (A, Counts)
Inherited from:
TestDbHelpers
def select[A : Read](sql: String): A
Inherited from:
TestDbHelpers
def selectOption[A : Read](sql: String): Option[A]
Inherited from:
TestDbHelpers
def selectVector[A : Read](sql: String): Vector[A]
Inherited from:
TestDbHelpers
def widen[G0[x]]: FunctionK[ConnectionIO, G0]

Widens the output type of this FunctionK from G to G0

Widens the output type of this FunctionK from G to G0

Inherited from:
FunctionK

Inherited fields

val transactor: Transactor[IO]
Inherited from:
XA