Stormify
The main ORM controller. Entry point for all database operations.
Parameters
the data source for all database operations
optional entity registrars to register at construction time
Types
Holds the library-wide defaultInstance used when no instance is explicitly attached.
Properties
The filter syntax used by facets on this instance. Controls which tokens represent OR, NOT, NULL, phrase delimiters, grouping, and wildcards. Default is Google-like syntax: OR, -, NULL, ", (), *.
Default input parser for facet filter values. Applied after per-facet and per-list parsers in the resolution chain. Use for locale-aware number/date parsing across all facets.
The naming policy used to convert Kotlin property names to database column names. Default is NamingPolicy.LOWER_CASE_WITH_UNDERSCORES (snake_case). Changing this only affects entities resolved after the change.
The SQL dialect used by this Stormify instance. Auto-detected from the data source on first access. Can be set manually for proxy scenarios where auto-detection fails.
Policy for ResultSet columns that have no matching field on the target entity. Default is UnmatchedColumnPolicy.IGNORE.
Functions
Excludes a field name from all entity mappings (e.g. inherited fields that have no database column).
Executes an SQL UPDATE/INSERT/DELETE and returns the number of affected rows.
Retrieves all detail (child) entities related to a parent entity through a foreign key.
Type-safe variant of getDetails that accepts an annotation-processor-generated reference path (e.g. Paths.AuditEntry_.createdBy) instead of a string. The compiler guarantees the referenced property exists on the child type, so typos and renames surface at build time rather than on first query.
Removes a previously blacklisted field name, allowing it to be mapped again.
Wraps this Stormify instance with a coroutine-aware transaction API backed by a DefaultSuspendConnectionPool configured with config. Safe to call multiple times with different configs; each returned SuspendStormify is independent.
Executes block within a database transaction with automatic commit/rollback, returning the block's result.