QueryOptionsBuilder
Builder for QueryOptions, providing a DSL for configuration.
Functions
Sets a custom Json instance for use within this query. Overrides the default JSON configuration provided in DataAccess.
Registers a custom PgCompositeMapper for a specific PostgreSQL composite type. Useful when you want to map a composite type to a class differently than the default or bypass reflection for a specific query.
Registers a custom TypeHandler for use within this query. This handler will take precedence over globally registered handlers.
Directs Octavius to return ALL composite types encountered in this query as nested Map<String, Any?> instead of mapping them to Kotlin classes. Useful for dynamic reporting or handling arbitrary queries.
Directs Octavius to return a specific composite type as a nested Map<String, Any?> instead of trying to map it to a Kotlin class.