Module pgo_handler

Function Index

close/1
extended_query/3
extended_query/4
extended_query/5
open/2Actually open (or re-open) the connection.

Function Details

close/1

close(Conn) -> any()

extended_query/3

extended_query(Conn::#conn{owner = pid(), socket = gen_tcp:socket(), pool = atom(), queue = boolean(), trace = boolean(), decode_opts = []}, Query::iodata(), Parameters::list()) -> pgo:result()

extended_query/4

extended_query(Conn::#conn{owner = pid(), socket = gen_tcp:socket(), pool = atom(), queue = boolean(), trace = boolean(), decode_opts = []}, Query::iodata(), Parameters::list(), Timings::map()) -> pgo:result()

extended_query/5

extended_query(Conn::#conn{owner = pid(), socket = gen_tcp:socket(), pool = atom(), queue = boolean(), trace = boolean(), decode_opts = []}, Query::iodata(), Parameters::list(), DecodeOptions::pgo:decode_opts(), Timings::map()) -> pgo:result()

open/2

open(Pool::atom(), PoolConfig::pgo:pool_config()) -> {ok, pgo_pool:conn()} | {error, any()}

Actually open (or re-open) the connection.


Generated by EDoc