package db
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- db
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class ChunkWithMetadata[V](chunk: Chunk[V], pulledAt: Long = System.nanoTime()) extends Product with Serializable
- final case class DbConfig(driver: String, uri: String, username: String, password: Secret, fetchChunkSize: Int) extends Product with Serializable
- sealed abstract case class DbSetup[K, V, SV] extends Setup[Transactor[Task] with DbConfig, K, V, SV] with Product with Serializable
- implicit final class InstantOps extends AnyVal
- final case class QueryResult[V](metadata: ResultMetadata, results: List[V]) extends Product with Serializable
- final case class ResultMetadata(queryExecutionTimeInNanos: Long) extends Product with Serializable
- abstract class Timestamped extends AnyRef
By specifying a field here, tamer will order database records according to this date.
By specifying a field here, tamer will order database records according to this date. Usually you want your latest update timestamp here.
- final case class ValueWithMetadata[V](value: V, pulledAt: Long = System.nanoTime()) extends Product with Serializable
- final case class Window(from: Instant, to: Instant) extends Product with Serializable
Value Members
- final val dbLayerFromEnvironment: TaskLayer[DbConfig with Transactor[Task]]
- final val hikariLayer: RLayer[DbConfig, Transactor[Task]]
- final def mkTransactor(config: DbConfig, connectEC: ExecutionContext): RIO[Scope, HikariTransactor[Task]]
- object DbConfig extends Serializable
- object DbSetup extends Serializable
- object Timestamped
- object Window extends Serializable