typo & link fixes
[mdref/mdref-pq] / pq / Connection / execParamsAsync.md
1 # pq\Result pq\Connection::execParamsAsync(string $query, array $params[, array $types = NULL])
2
3 [Asynchronously](pq/Connection/: Asynchronous Usage) [execute an SQL query](pq/Connection: Executing Queries) with properly escaped parameters substituted.
4
5 > ***NOTE***:
6 If pq\Connection::$unbuffered is TRUE, each call to pq\Connection::getResult() will generate a distinct pq\Result containing exactly one row.
7
8 ## Params:
9
10 * string $query
11 The query to execute.
12 * array $params
13 The parameter list to substitute.
14 * Optional array $types = NULL
15 Corresponding list of type OIDs for the parameters.
16
17 ## Throws:
18
19 * pq\Exception\InvalidArgumentException
20 * pq\Exception\RuntimeException
21 * pq\Exception\BadMethodCallException
22