Skip to main content

Column Constraints

OmniQL supports three column constraints using colon syntax:

Multiple Constraints

Chain multiple constraints with colons:

Database-Specific Features

For advanced features like sequences, custom types, triggers, and stored procedures, see database-specific documentation:

Limitations

Not supported in OmniQL (use native SQL):
  • CHECK constraints
  • Foreign key references (REFERENCES)
  • ON DELETE / ON UPDATE actions
  • DEFAULT values
  • Composite primary keys

Next Steps

PostgreSQL

PostgreSQL-specific features

Transactions

Group operations safely