← Back to Stormify Documentation

DataSource

interface DataSource

A factory for database connections. Platform implementations wrap JDBC, native drivers, or Android SQLite.

Inheritors

AndroidDataSource
JdbcDataSource
NativeKdbcDataSource

Functions

Link copied to clipboard
abstract fun getConnection(): Connection

Opens and returns a new database connection. The caller is responsible for closing it.