Incremental interface
All the functions returnreference()
immediately. Each data row as well
as metadata are delivered as separate messages in a form of
{connection(), reference(), Payload}
where Payload
depends on command
being executed.
bind(C, Statement, Parameters) -> any()
bind(C::epgsql:connection(), Statement::epgsql:statement(), PortalName::string(), Parameters::[epgsql:bind_param()]) -> reference()
cancel(C::epgsql:connection()) -> ok
close(C::epgsql:connection()) -> ok
close(C, Statement) -> any()
close(C, Type, Name) -> any()
connect(Opts) -> any()
connect(Host, Opts) -> any()
connect(Host, Username, Opts) -> any()
connect(Host, Username, Password, Opts) -> any()
connect(C::epgsql:connection(), Host::inet:ip_address() | inet:hostname(), Username::string(), Password::string(), Opts::epgsql:connect_opts()) -> reference()
describe(C, Statement) -> any()
describe(C, X2, Name) -> any()
equery(C::epgsql:connection(), Statement::epgsql:statement()) -> reference()
equery(C::epgsql:connection(), Statement::epgsql:statement(), TypedParameters::[epgsql:typed_param()]) -> reference()
execute(C, S) -> any()
execute(C, S, N) -> any()
execute(C::epgsql:connection(), Statement::epgsql:statement(), PortalName::string(), MaxRows::non_neg_integer()) -> reference()
execute_batch(C::epgsql:connection(), Batch::[{epgsql:statement(), [epgsql:bind_param()]}]) -> reference()
execute_batch(C::epgsql:connection(), Statement::epgsql:statement(), Batch::[[epgsql:bind_param()]]) -> reference()
get_backend_pid(C::epgsql:connection()) -> integer()
get_cmd_status(C::epgsql:connection()) -> {ok, Status}
get_parameter(C::epgsql:connection(), Name::binary()) -> binary() | undefined
parse(C::epgsql:connection(), Sql::epgsql:sql_query()) -> reference()
parse(C::epgsql:connection(), Sql::epgsql:sql_query(), Types::[epgsql:epgsql_type()]) -> reference()
parse(C::epgsql:connection(), Name::iolist(), Sql::epgsql:sql_query(), Types::[epgsql:epgsql_type()]) -> reference()
prepared_query(C::epgsql:connection(), Statement::epgsql:statement(), TypedParameters::[epgsql:typed_param()]) -> reference()
set_notice_receiver(C::epgsql:connection(), PidOrName::undefined | pid() | atom()) -> {ok, Previous::pid() | atom()}
squery(C::epgsql:connection(), Sql::epgsql:sql_query()) -> reference()
start_link() -> any()
sync(C) -> any()
Generated by EDoc