← Back to Stormify Documentation

Companion

expect object Companion

Factory entry points for stored-procedure parameters.

actual object Companion

Factory entry points for stored-procedure parameters.

actual object Companion

Factory entry points for stored-procedure parameters.

Functions

Link copied to clipboard
expect fun <T : Any> inOutParam(type: KClass<T>, value: T): Sp.InOut<T>

Factory for an INOUT parameter, equivalent to Sp.InOut(type, value). Kotlin callers typically prefer the reified spInOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

fun <T : Any> inOutParam(type: Class<T>, value: T): Sp.InOut<T>

Class<T> overload for Java callers; equivalent to inOutParam(type.kotlin, value).

actual fun <T : Any> inOutParam(type: KClass<T>, value: T): Sp.InOut<T>

Factory for an INOUT parameter, equivalent to Sp.InOut(type, value). Kotlin callers typically prefer the reified spInOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

actual fun <T : Any> inOutParam(type: KClass<T>, value: T): Sp.InOut<T>

Factory for an INOUT parameter, equivalent to Sp.InOut(type, value). Kotlin callers typically prefer the reified spInOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

Link copied to clipboard
expect fun inParam(value: Any?): Sp.In

Factory for an IN parameter, equivalent to Sp.In(value). Also the entry point for Java callers — in Kotlin this is usually unnecessary because raw values passed to procedure(...) are auto-wrapped.

actual fun inParam(value: Any?): Sp.In

Factory for an IN parameter, equivalent to Sp.In(value). Also the entry point for Java callers — in Kotlin this is usually unnecessary because raw values passed to procedure(...) are auto-wrapped.

actual fun inParam(value: Any?): Sp.In

Factory for an IN parameter, equivalent to Sp.In(value). Also the entry point for Java callers — in Kotlin this is usually unnecessary because raw values passed to procedure(...) are auto-wrapped.

Link copied to clipboard
expect fun <T : Any> outParam(type: KClass<T>): Sp.Out<T>

Factory for an OUT parameter, equivalent to Sp.Out(type). Kotlin callers typically prefer the reified spOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

fun <T : Any> outParam(type: Class<T>): Sp.Out<T>

Class<T> overload for Java callers; equivalent to outParam(type.kotlin).

actual fun <T : Any> outParam(type: KClass<T>): Sp.Out<T>

Factory for an OUT parameter, equivalent to Sp.Out(type). Kotlin callers typically prefer the reified spOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

actual fun <T : Any> outParam(type: KClass<T>): Sp.Out<T>

Factory for an OUT parameter, equivalent to Sp.Out(type). Kotlin callers typically prefer the reified spOut helper. On JVM and Android a java.lang.Class<T> overload is also available.