class virtual statement :connection ->object..end
method virtual execute : sql_t list -> unit? placeholders in the query string. This method should
be executed before trying to fetch data.
This command can throw a variety of SQL-specific exceptions.
method virtual fetch1 : unit -> sql_t listNot_found if no tuple is returned by the database.Failure if #execute has not been issued before.method fetch1int : unit -> intNot_found if no tuples are remaining.Invalid_argument if the tuple does not contain a single integer.Failure if #execute has not been issued before.method fetch1string : unit -> stringNot_found if no tuples are remaining.Invalid_argument if the tuple does not contain a single string.Failure if #execute has not been issued before.method fetchall : unit -> sql_t list listFailure if #execute has not been issued before.method iter : (sql_t list -> unit) -> unitFailure if #execute has not been issued before.method map : 'a. (sql_t list -> 'a) -> 'a listFailure if #execute has not been issued before.method fold_left : 'b. ('b -> sql_t list -> 'b) -> 'b -> 'bFailure if #execute has not been issued before.method fold_right : 'c. (sql_t list -> 'c -> 'c) -> 'c -> 'cFailure if #execute has not been issued before.method virtual names : string listFailure if #execute has not been issued before.method fetch1hash : unit -> (string * sql_t) listNot_found if there are no more rows to fetch.method virtual serial : string -> intNot_found if the serial number is not available.Failure if #execute has not been issued before.method finish : unit -> unit#finish you may call #execute to
begin executing another query.method connection : connection