ruleTail to identify error position
[sqlgg.git] / sql.ml
blob0b4d50283b79d58ac3b2f8d75631b91ed68b02b6
1 (** *)
3 module Type =
4 struct
5 type t = | Int | Text | Blob | Float | Bool | Datetime | Any
6 deriving (Show)
8 let to_string = Show.show<t>
9 end
11 module Constraint =
12 struct
13 type conflict_algo = | Ignore | Replace | Abort | Fail | Rollback
14 deriving (Show)
16 type t = | PrimaryKey | NotNull | Unique | Autoincrement | OnConflict of conflict_algo
17 deriving (Show)
18 end