Edit
↰
Home
↑
pq
↑
Statement
↻
Statement::execAsync
↲
Statement::__construct
↲
Statement::bind
↲
Statement::deallocate
↲
Statement::deallocateAsync
↲
Statement::desc
↲
Statement::descAsync
↲
Statement::exec
↲
Statement::prepare
↲
Statement::prepareAsync
#
void
pq\Statement::execAsync
([
array
$params
=
NULL
, [
callable
$cb
=
NULL
]])
Asynchronously
execute the prepared statement.
Params:
#
Optional
array
$params
#
=
NULL
Any parameters to substitute in the prepared statement (defaults to any bou nd variables).
Optional
callable
$cb
#
as function(
\pq\Result
$res
#
) :
void
Result handler
callback
.
Throws:
#
pq\Exception\InvalidArgumentException
pq\Exception\BadMethodCallException
pq\Exception\RuntimeException
Show Comments from Github Discussions