LocalDateColumnType
Base column type for storing date values without time components.
This abstract class provides the foundation for date-only columns across different database dialects. It handles the conversion between application date types and database representations, ensuring proper formatting and parsing based on the current database dialect.
Type Parameters
The application-specific date type (e.g., LocalDate, kotlinx.datetime.LocalDate)
See also
Properties
Functions
Returns the SQL representation of the specified non-null value, for this column type.
Returns an object compatible with the database, from the specified non-null value, for this column type.
Defines the appearance of parameter markers in prepared SQL statements.
Function checks that provided value is suites the column type and throws IllegalArgumentException otherwise. value can be of any type (including Expression)
Converts the specified value (from the database) to an object of the appropriated type, for this column type. Default implementation returns the same instance.
Returns the SQL representation of the specified value, for this column type. If the value is null and the column is not nullable, an exception will be thrown. Used when generating an SQL statement and when logging that statement.