Packages

package db

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package models
  2. package util

Type Members

  1. 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.

  2. abstract class CRUDAutoInc[T <: DbRowAutoInc[T]] extends CRUD[T, Long] with TableAutoIncComponent[T]
  3. sealed abstract class DatabaseDriver extends AnyRef
  4. abstract class DbAppConfig extends AppConfig
  5. class DbCommonsColumnMappers extends AnyRef
  6. trait DbManagement extends Logging
  7. case class HikariLogging(hikariDataSource: HikariDataSource, moduleName: String, interval: Duration) extends Logging with StartStop[HikariLogging] with Product with Serializable
  8. trait JdbcProfileComponent[+ConfigType <: DbAppConfig] extends Logging
  9. 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

  10. case class SafeDatabase(jdbcProfile: JdbcProfileComponent[DbAppConfig]) extends Logging with Product with Serializable
  11. trait SlickUtil[T, PrimaryKeyType] extends AnyRef
  12. 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.

  13. case class UpdateFailedException(message: String) extends RuntimeException with Product with Serializable
  14. case class UpsertFailedException(message: String) extends RuntimeException with Product with Serializable

Value Members

  1. object DatabaseDriver extends StringFactory[DatabaseDriver]
  2. object HikariLogging extends Logging with Serializable
  3. object SQLiteUtil extends Logging

Ungrouped