class virtual statement : connection -> object endmethod virtual execute : arg_t list -> unit? placeholders in the query string.
This command can throw a variety of SQL-specific exceptions.
method virtual fetch1 : string arrayNot_found if no tuple is
returned by the database.method fetchall : string array listbind_columns and next.method iter : (string array -> unit) -> unitmethod map : 'a. (string array -> 'a) -> 'a listmethod fold_left : 'b. ('b -> string array -> 'b) -> 'b -> 'bmethod fold_right : 'c. (string array -> 'c -> 'c) -> 'c -> 'cmethod virtual bind_columns : ref_t list -> unitnext will set those references for each
tuple returned. Setting references is much more efficient than
using the fetch methods, particularly when returning large
objects.method virtual next : boolnext row. You would normally want to call
bind_columns first so that you can actually retrieve the
value of each column. next returns true if a rows was
returned or false otherwise.method virtual serial : string -> intmethod finish : unitfinish you may call execute to
begin executing another query.method connection : connection