Packages

package utils

A set of basic utilities useful to write workflows.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def transactor(config: DatabaseConfig): Resource[IO, HikariTransactor[IO]]

    Get a doobie transactor

    Get a doobie transactor

    config

    Database configuration

  2. def updateSchema(table: String, schemaEvolutions: List[doobie.ConnectionIO[_]]): Free[ConnectionOp, Unit]

    Executes unapplied schema evolutions

    Executes unapplied schema evolutions

    table

    Name of the table that keeps track of applied schema changes

    schemaEvolutions

    List of schema evolutions (should be append-only)

  3. object Timeout

    Creates a Future that resolve automatically after the given duration.

Inherited from AnyRef

Inherited from Any

Ungrouped