Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Async based Postgres client based on Pgx.
val with_conn :
?host:string ->
?port:int ->
?user:string ->
?password:string ->
?database:string ->
?unix_domain_socket_dir:string ->
?verbose:int ->
?max_message_length:int ->
(t -> 'a Async_kernel.Deferred.t) ->
'a Async_kernel.Deferred.t
val execute_pipe :
?params:Pgx.row ->
t ->
string ->
Pgx.row Async_kernel.Pipe.Reader.t
Like execute
but returns a pipe so you can operate on the results before they have all returned. Note that execute_iter
and execute_fold
can perform significantly better because they don't have as much overhead.
module Value = Pgx_value_core
Exposed for backwards compatiblity. New code should use Pgx_value_core
directly.