pub const fn accepted_kinds(
column_type: &ColumnType,
) -> Option<&'static [ValueKind]>Expand description
The value types a column of column_type takes; None for a custom type,
which is not checked.
Those sea-query binds as a type the database stores in it without loss of meaning: any integer in any integer column (out-of-range values are the database’s to reject, as with sqlx). A UTC date-time only in a column with a time zone: Postgres would convert a column without one to compare or store it by the session’s time zone, so results would depend on the server’s settings.