string
$query, array
$params[, array
$types = NULL
, [callable
$cb = NULL
]])Asynchronously execute an SQL query with properly escaped parameters substituted.
NOTE:
If pq\Connection::$unbuffered isTRUE
, each call to pq\Connection::getResult() will generate a distinct pq\Result containing exactly one row.
string
$query#array
$params#array
$types# = NULL
callable
$cb# as function(\pq\Result $res#) : void
callback
.