almost finished prepared statements
[sqlgg.git] / sql.ml
blobf683171360fefd9fb5e30f9315b43cf724c81be9
1 (** *)
3 module Type =
4 struct
5 type t = | Int | Text | Blob | Float | Bool | Datetime
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