A query writer implementation.
string $query#array $params#array $types#Create a new query writer.
void pq\Query\Writer::__construct([string $query = ""[, array $params = array()[, array $types = array()]]])
Retrieve the assembled query.
Write nested AND/OR criteria to the query string.
pq\Query\Writer pq\Query\Writer::criteria(array $criteria)
Retrieve the query parameters.
Get the query parameters' types.
Remember the parameter with any associated type and return $N to be written to the query string.
string pq\Query\Writer::param(mixed $param[, int $type = NULL])
An array_reduce() helper for pq\Query\Writer::write().
protected string pq\Query\Writer::reduce(string $q, mixed $v)
Reset the query writer to initial state.
Write a part of the query string.