1 # pq\Statement pq\Connection::prepareAsync(string $name, string $query[, array $types = NULL])
3 [Asynchronously](pq/Connection/:%20Asynchronous%20Usage) prepare a named statement for later execution with pq\Statement::exec().
6 If pq\Connection::$unbuffered is TRUE, each call to pq\Connection::getResult() will generate a distinct pq\Result containing exactly one row.
11 The identifying name of the prepared statement.
14 * Optional array $types = NULL
15 An array of type OIDs for the substitution parameters.
19 * pq\Statement, a prepared statement instance.
23 * pq\Exception\InvalidArgumentException
24 * pq\Exception\BadMethodCallException
25 * pq\Exception\RuntimeException