Plasma GitLab Archive
Projects Blog Knowledge

Class type Pfs_db.async_connection


class type ['a] async_connection = object .. end
Inherits
  • Postgresql.connection

method continue_with : (bool -> unit) -> unit
continue_with f: Set f as the continuation. If the connection is non-busy f is executed immediately. Otherwise it is pushed onto the queue of delayed continuations. The argument of f is true if the previous statement was successful.
method next : bool -> unit
If there is a delayed continuation execute it now
method idle : bool
whether nothing is being executed
method send : ?noprepare:bool ->
?params:string array -> ?binary_params:bool array -> string -> unit
Unless noprepare is set, prepare the query first, and execute it then. If the query is already prepared, it is executed directly.
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml