Attributes
Members list
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 parameters
- F
-
Async effect type
Value parameters
- 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.
Attributes
- 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 parameters
- F
-
Async effect type
Value parameters
- acquireDataSource
-
The datasource to use. Must have the necessary privileges to execute DDL.
Attributes
- Returns
-
A resource that, once used, safely close the datasource
Implicits
Inherited implicits
Attributes
- Inherited from:
- ValidateOutputInstances
Attributes
- Inherited from:
- ValidateOutputInstances