use-sql-constraint
SQL constraint kind, name, and schema metadata primitives for RustUse.
Experimental
use-sql-constraint is experimental while use-sql remains below 0.3.0.
Example
use ;
let constraint = new;
assert_eq!;
assert_eq!;
Scope
- Primary key, foreign key, unique, not null, check, default, and generated labels.
- Optional constraint names.
- Schema metadata containers.
Non-goals
- Migration engines.
- DDL generation frameworks.
- Database introspection.
License
Licensed under either Apache-2.0 or MIT.