mdref.json config
[mdref/mdref-pq-gateway] / pq-gateway / pq / Query / Executor / execute.md
1 # mixed pq\Query\Executor pq\Query\Executor::execute(\pq\Query\Writer $query, callable $callback);
2
3 Execute the query and process the result with the callback.
4
5 ## Params:
6
7 * pq\Query\Writer $query
8 The query to execute.
9 * callable $callback
10 The result processing callback as function(pq\Result $result)
11
12 ## Returns:
13
14 * mixed, the return value of the callback.
15