Package xyz.block.ftl
Class Database
-
- All Implemented Interfaces:
public final class DatabaseDatabaseis a simple wrapper around the JDBC driver manager that provides a connection to the database specified by the FTL_POSTGRES_DSN_<moduleName>_<dbName> environment variable.
-
-
Method Summary
Modifier and Type Method Description final <R extends Any> Rconn(Function1<Connection, R> block)
-