Module epgsql_cmd_execute

Executes a portal.

Behaviours: epgsql_command.

See also: epgsql_cmd_bind, epgsql_cmd_parse.

Description

Executes a portal.

It's possible to tell the server to only return limited number of rows by providing non-zero MaxRows parameter.
  > Execute
  < DataRow*
  < CommandComplete | PortalSuspended

Data Types

response()

response() = {ok, Count::non_neg_integer(), Rows::[tuple()]} | {ok, Count::non_neg_integer()} | {ok | partial, Rows::[tuple()]} | {error, epgsql:query_error()}

Function Index

execute/2
handle_message/4
init/1

Function Details

execute/2

execute(Sock, Execute) -> any()

handle_message/4

handle_message(X1, Bin, Sock, Execute) -> any()

init/1

init(X1) -> any()


Generated by EDoc