Module sea_schema::postgres::def

source ·
Available on crate features postgres and def only.

Structs

  • The precision (number of significan digits) and scale (the number of digits in the fractional portion) of an arbitrary precision number (numeric or decimal). When both the precision and scale are not set, any precision or scale up to the implementation limit may be stored.
  • Defines an enum for the PostgreSQL module
  • A constraint which states that a value must satisfy the following Boolean expression
  • Defines an enum for the PostgreSQL module
  • A constraint that ensures that, if any two rows are compared on the specified columns or expressions using the specified operators, at least one of these operator comparisons returns false or null
  • The constraint that a value must not be null
  • A constraint stating that the given columns act as a unique identifier for rows in the table. This implies that the columns are not null and are unique together
  • A constraint that column references the values appearing in the row of another table
  • Information relating to the table, but not its individual components. For information on a table including its columns and constraints, use TableDef
  • That each set of values for these columns must be unique across the whole table

Enums

Type Aliases