CurrentDate

Represents an SQL function that returns the current date, as LocalDate.

Samples

org.jetbrains.exposed.DefaultsTest.testConsistentSchemeWithFunctionAsDefaultExpression

Properties

Link copied to clipboard
open override val columnType: IColumnType<LocalDate>

Functions

Link copied to clipboard
fun <T : Temporal?> Expression<T>.date(): Date<T>

Returns the date from this temporal expression.

Link copied to clipboard
fun <T : Temporal?> Expression<T>.day(): Day<T>

Returns the day from this temporal expression, as an integer between 1 and 31 inclusive.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun <T : Temporal?> Expression<T>.hour(): Hour<T>

Returns the hour from this temporal expression, as an integer between 0 and 23 inclusive.

Link copied to clipboard

Returns the minute from this temporal expression, as an integer between 0 and 59 inclusive.

Link copied to clipboard

Returns the month from this temporal expression, as an integer between 1 and 12 inclusive.

Link copied to clipboard

Returns the second from this temporal expression, as an integer between 0 and 59 inclusive.

Link copied to clipboard
fun <T : Temporal?> Expression<T>.time(): Time<T>

Returns the time from this temporal expression.

Link copied to clipboard
open override fun toQueryBuilder(queryBuilder: QueryBuilder)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun <T : Temporal?> Expression<T>.year(): Year<T>

Returns the year from this temporal expression, as an integer.