object ConnectionPool
- Source
- ConnectionPool.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConnectionPool
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def extractUrl(maybeUrl: Option[String], mode: Mode): (Option[String], Option[(String, String)])
Extract the given URL.
Extract the given URL.
Supports shortcut URLs for postgres and mysql, and also adds various default parameters as appropriate.
- def fromConfig(config: String, environment: Environment, default: ConnectionPool): ConnectionPool
Load a connection pool from a configured connection pool.
Load a connection pool from a configured connection pool. This is intended to be used with compile-time dependency injection and then it does not accepts an Injector.
- def fromConfig(config: String, injector: Injector, environment: Environment, default: ConnectionPool): ConnectionPool
Load a connection pool from a configured connection pool