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 ConnectionConfig(driver: String, uri: String, username: String, password: String) extends Product with Serializable
- sealed abstract case class DbSetup[K, V, S] extends Setup[Has[Transactor[Task]] with Has[QueryConfig], K, V, S] with Product with Serializable
- implicit final class InstantOps extends AnyVal
- final case class QueryConfig(fetchChunkSize: Int) extends Product with Serializable
- 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: ZLayer[Blocking with Clock, TamerError, Has[ConnectionConfig] with Has[QueryConfig] with Has[Transactor[Task]]]
- final val hikariLayer: ZLayer[Blocking with Clock with Has[ConnectionConfig], TamerError, Has[Transactor[Task]]]
- object DbConfig
- object DbSetup extends Serializable
- object Timestamped
- object Window extends Serializable
- object compat