- Companion
- class
Value members
Concrete methods
Creates a Resource
to properly handle the connection with the datasource Create a new
javax.sql
using fly4s DriverDataSource
with the specified parameters.
Creates a Resource
to properly handle the connection with the datasource Create a new
javax.sql
using fly4s DriverDataSource
with the specified parameters.
- Type Params
- F
Async effect type
- Value Params
- classLoader
The ClassLoader to use for loading migrations, resolvers, etc from the classpath. (default: Thread.currentThread().getContextClassLoader())
- password
The password of the database.
- url
The JDBC URL of the database.
- user
The user of the database.
- Returns
A resource that, once used, safely close the datasource
Creates a new Fly4s Resource
to properly handle the connection with the datasource. Sets
the datasource to use. Must have the necessary privileges to execute DDL.
Creates a new Fly4s Resource
to properly handle the connection with the datasource. Sets
the datasource to use. Must have the necessary privileges to execute DDL.
- Type Params
- F
Async effect type
- Value Params
- acquireDataSource
The datasource to use. Must have the necessary privileges to execute DDL.
- Returns
A resource that, once used, safely close the datasource
Implicits
Inherited implicits
- Inherited from
- ValidateOutputInstances