Back to Exposed

XCustomTimeStampFunction

docs/api/exposed-kotlin-datetime/org.jetbrains.exposed.v1.datetime/-x-custom-time-stamp-function.html

1.2.01.0 KB
Original Source

XCustomTimeStampFunction

fun XCustomTimeStampFunction(functionName: String, vararg params: Expression<*>): CustomFunction<Instant?>

Deprecated

Deprecated due to usage of old kotlinx.datetime.Instant. The change caused by deprecation of Instant in the kotlinx.datetime (see more on https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#deprecation-of-instant)

Replace with

kotlin
CustomTimeStampFunction(functionName, params = params)

Content copied to clipboard

Calls a custom SQL function with the specified functionName, that returns a timestamp, and passing params as its arguments.

Generated by Dokka © 2026 Copyright