month

open fun <T> month(expr: Expression<T>, queryBuilder: QueryBuilder)

SQL function that extracts the month field from a given date. The returned value is a number between 1 and 12 both inclusive.

Parameters

expr

Expression to extract the month from.

queryBuilder

Query builder to append the SQL function to.