Packages

package db

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. db
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AppConfig extends BitcoinSLogger

    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.

  2. abstract class CRUD[T, PrimaryKeyType] extends DatabaseLogger

    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.

  3. abstract class CRUDAutoInc[T <: DbRowAutoInc[T]] extends CRUD[T, Long]
  4. implicit final class ConfigOps extends AnyVal
  5. abstract class DbCommonsColumnMappers extends AnyRef
  6. abstract class DbManagement extends DatabaseLogger
  7. abstract class DbRowAutoInc[T] extends AnyRef

    This is meant to be coupled with CRUDAutoInc and TableAutoInc to allow for automatically incrementing an id when inserting something into a database.

    This is meant to be coupled with CRUDAutoInc and TableAutoInc to allow for automatically incrementing an id when inserting something into a database. This removes the boiler boiler plate from this having to happen every where a CRUD is created

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

  9. case class SafeDatabase(config: AppConfig) extends DatabaseLogger with Product with Serializable
  10. sealed abstract class SlickUtil extends AnyRef
  11. abstract class TableAutoInc[T] extends slick.jdbc.JdbcProfile.API.Table[T]

    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.

  12. case class UpdateFailedException(message: String) extends RuntimeException with Product with Serializable

Value Members

  1. object AppConfig extends BitcoinSLogger
  2. object DbCommonsColumnMappers extends DbCommonsColumnMappers
  3. object SlickUtil extends SlickUtil

Inherited from AnyRef

Inherited from Any

Ungrouped