← Back to Stormify Documentation

Package-level declarations

Types

Link copied to clipboard

Android KDBC implementation backed by android.database.sqlite.SQLiteDatabase.

Link copied to clipboard

A statement for calling stored procedures, with support for OUT and INOUT parameters.

Link copied to clipboard

A connection to a specific database, used to execute statements and manage transactions.

Link copied to clipboard

Provides information about the database, such as product name and version.

Link copied to clipboard
interface DataSource

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

Link copied to clipboard

JDBC DataSource wrapper that implements KDBC DataSource interface.

Link copied to clipboard

Parses a standard JDBC URL into the form expected by the kdbc C library.

Link copied to clipboard

Supported database kinds. Corresponds 1:1 with the kdbc_driver C enum.

Link copied to clipboard

DataSource implementation that uses the unified kdbc C library. Created indirectly through KdbcDataSource (the public factory).

Link copied to clipboard
data class ParsedJdbcUrl(val kind: KdbcDriverKind, val nativeUrl: String, val user: String?, val password: String?, val extraParams: Map<String, String>)

Parsed representation of a JDBC URL, normalized to what the kdbc C library expects.

Link copied to clipboard

A table of data resulting from a query, read row-by-row via next.

Link copied to clipboard

Metadata about the columns in a ResultSet.

Link copied to clipboard
interface Savepoint

A named savepoint within a transaction, used for partial rollbacks.

Link copied to clipboard
class SimpleSavepoint(val savepointName: String) : Savepoint

Simple Savepoint implementation used by all KDBC drivers.

Link copied to clipboard

An exception that is thrown when a database error occurs.

Link copied to clipboard

A prepared SQL statement that supports parameter binding, execution, and batching.

Link copied to clipboard

Type conversion registry for scalar values (numbers, strings, dates, booleans, etc.).

Functions

Link copied to clipboard
actual fun KdbcDataSource(url: String, user: String?, password: String?): DataSource

Android actual for KdbcDataSource. Not yet implemented.

expect fun KdbcDataSource(url: String, user: String? = null, password: String? = null): DataSource

Platform-agnostic DataSource factory.

actual fun KdbcDataSource(url: String, user: String?, password: String?): DataSource

JVM actual for KdbcDataSource. Not yet implemented.

actual fun KdbcDataSource(url: String, user: String?, password: String?): DataSource

Platform-agnostic DataSource factory.

Link copied to clipboard
inline fun <T> Any?.safeCast(): T

Safe cast helper for parameter validation.