Behaviours: epgsql_command.
Asks server to provide input parameter and result rows information.
Almost the same as epgsql_cmd_parse
.
> Describe(STATEMENT) < ParameterDescription < RowDescription | NoData
response() = {ok, #statement{name = string(), columns = [#column{name = binary(), type = epgsql:epgsql_type(), oid = non_neg_integer(), size = -1 | pos_integer(), modifier = -1 | pos_integer(), format = integer(), table_oid = non_neg_integer(), table_attr_number = pos_integer()}], types = [epgsql:epgsql_type()], parameter_info = [epgsql_oid_db:oid_entry()]}} | {error, epgsql:query_error()}
execute/2 | |
handle_message/4 | |
init/1 |
execute(Sock, Desc_stmt) -> any()
handle_message(X1, Bin, Sock, State) -> any()
init(Name) -> any()
Generated by EDoc