Module Sql.Alter_action_attrSource

Sourcetype default = {
  1. expr : expr located;
  2. sql : string option;
}
Sourcetype constraint_ =
  1. | Syntax_constraint of Constraint.t
  2. | Default of default
Sourcetype t = {
  1. name : string;
  2. kind : Source_type.kind collated located option;
  3. extra : constraint_ located list;
  4. meta : (string * string) list;
}
Sourceval constraint_to_syntax_constraint : constraint_ -> Constraint.t
Sourceval default_sql : t -> string option
Sourceval to_attr : t -> attr
Sourceval from_attr : attr -> t