package db
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- abstract class CRUD[T, PrimaryKeyType] extends CRUDAction[T, PrimaryKeyType] with 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 CRUDAction[T, PrimaryKeyType] extends JdbcProfileComponent[DbAppConfig]
- abstract class CRUDAutoInc[T <: DbRowAutoInc[T]] extends CRUD[T, Long] with TableAutoIncComponent[T]
- 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 SlickUtilAction[T, PrimaryKeyType]
- trait SlickUtilAction[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 DatabaseDriver extends StringFactory[DatabaseDriver]
- object DatadirUtil
- object HikariLogging extends Logging with Serializable
- object SQLiteUtil extends Logging