Structs§
- Check
Constraint - A table-level CHECK constraint — raw SQL expression.
- Index
Def - An index definition.
- OrderBy
- An ordering clause: column + direction.
- Unique
Constraint - A table-level UNIQUE constraint — single or multi-column, optional partial condition.
Enums§
- Constraint
- A table-level constraint — either CHECK or UNIQUE.
- Order
Dir - Sort direction.
Functions§
- asc
- Ascending order helper.
- check_
constraint_ name - Shared constraint naming so generated SQL and snapshot diffs agree.
- constraint_
definition - Normalized constraint definition stored in snapshots.
- constraint_
name - Shared constraint naming so generated SQL and snapshot diffs agree.
- desc
- Descending order helper.
- unique_
constraint_ name - Shared constraint naming so generated SQL and snapshot diffs agree.