pub const CHECK: ColumnMarker;Expand description
Adds a CHECK constraint to this column.
ยงExample
#[column(CHECK = "age >= 0")]
age: i32,See: https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-CHECK-CONSTRAINTS
pub const CHECK: ColumnMarker;Adds a CHECK constraint to this column.
#[column(CHECK = "age >= 0")]
age: i32,See: https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-CHECK-CONSTRAINTS