WindowFunctionInverseScope

Scope for use with WindowFunction.inverse.

TODO: expose getAuxDataOrNull ?

Properties

Link copied to clipboard
open override val connection: DatabaseConnection

Database connection associated with the hook.

Functions

Link copied to clipboard
inline fun <C : Any> getAggregateContextOrNull(): C?

Returns the aggregate context, if any, as C.

Link copied to clipboard
open override fun resultError(message: String, result: SqliteResultCode.Failure = SqliteResultCode.ERROR): Nothing

Fails the function call with message. Equivalent to throwing an SQLiteException with result as its error code.

Link copied to clipboard
open override fun resultErrorNoMem(): Nothing

Fails the function call, indicating that a memory allocation failed. Unlike resultError, this does not accept a message and performs no allocation of its own, so it remains safe to call even when memory is already exhausted.

Link copied to clipboard
open override fun resultErrorTooBig(): Nothing

Fails the function call with a canned "string or BLOB too big" error. Unlike resultError, this does not accept a message, since the failure is already self-explanatory and does not need one formatted.