package db
- Alphabetic
- By Inheritance
- db
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class AppConfig extends StartStopAsync[Unit] with Logging
Everything needed to configure functionality of bitcoin-s applications is found in here.
Everything needed to configure functionality of bitcoin-s applications is found in here.
- See also
configuration.md
for more information.
- trait AppConfigFactory[C <: AppConfig] extends AnyRef
- abstract class CRUD[T, PrimaryKeyType] extends JdbcProfileComponent[DbAppConfig]
Created by chris on 9/8/16.
Created by chris on 9/8/16. This is an abstract actor that can be used to implement any sort of actor that accesses a Postgres database. It creates read, update, upsert, and delete methods for your actor to call. You are responsible for the create function. You also need to specify the table and the database you are connecting to.
- abstract class CRUDAutoInc[T <: DbRowAutoInc[T]] extends CRUD[T, Long] with TableAutoIncComponent[T]
- implicit final class ConfigOps extends AnyVal
- sealed abstract class DatabaseDriver extends AnyRef
- abstract class DbAppConfig extends AppConfig
- class DbCommonsColumnMappers extends AnyRef
- trait DbManagement extends Logging
- case class HikariLogging(hikariDataSource: HikariDataSource, moduleName: String, interval: Duration) extends Logging with StartStop[HikariLogging] with Product with Serializable
- trait JdbcProfileComponent[+ConfigType <: DbAppConfig] extends Logging
- case class SQLiteTableInfo(name: String, sql: String) extends Product with Serializable
- name
The name of the table
- sql
The SQL executed to create the table
- case class SafeDatabase(jdbcProfile: JdbcProfileComponent[DbAppConfig]) extends Logging with Product with Serializable
- trait SlickUtil[T, PrimaryKeyType] extends AnyRef
- trait TableAutoIncComponent[T <: DbRowAutoInc[T]] extends AnyRef
Defines a table that has an auto incremented fields that is named id.
Defines a table that has an auto incremented fields that is named id. This is useful for things we want to store that don't have an inherent id such as a hash.
- case class UpdateFailedException(message: String) extends RuntimeException with Product with Serializable
- case class UpsertFailedException(message: String) extends RuntimeException with Product with Serializable
Value Members
- object AppConfig extends Logging
- object DatabaseDriver extends StringFactory[DatabaseDriver]
- object HikariLogging extends Logging with Serializable