back quotes (mysql-specific?)
[sqlgg.git] / stmt.ml
blob504871bbc39a69774e01b13bab1fd9519dd91cd9
1 (** *)
3 open Printf
4 open ExtString
5 open ListMore
7 type param_id = | Named of string | Numbered of int | Next deriving (Show)
8 type param_type = Sql.Type.t option deriving (Show)
9 type param = param_id * param_type deriving (Show)
10 type params = param list deriving (Show)
12 let params_to_string ps = Show.show<params>(ps)
14 type kind = | Select
15 | Insert of string (** table name *)
16 | Create of string
17 | Update of string
18 | Delete of string
19 | Alter of string
20 deriving (Show)