DbConfig

wvlet.airframe.jdbc.DbConfig
See theDbConfig companion object
case class DbConfig(`type`: String, host: Option[String], database: String, port: Option[Int], user: Option[String], password: Option[String], driver: Option[String], connectionPool: ConnectionPoolConfig, postgres: PostgreSQLConfig)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def jdbcDriverName: String
def jdbcPort: Int
def jdbcUrl: String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def withDatabase(database: String): DbConfig
def withDriver(driverClassName: String): DbConfig
def withHikariConfig(configFilter: HikariConfig => HikariConfig): DbConfig
def withHost(host: String): DbConfig
def withPassword(password: String): DbConfig
def withPort(port: Int): DbConfig
def withSQLiteConfig(dbFilePath: String): DbConfig
def withType(newType: String): DbConfig
def withUser(user: String): DbConfig

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product