X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=pq-gateway%2Fpq%2FQuery%2FExecutor%2Fexecute.md;fp=pq-gateway%2Fpq%2FQuery%2FExecutor%2Fexecute.md;h=45a1837c4fd8721f1bee15d0c3aaf99f1b4cbc5b;hb=8ca926b19e417db747f046038909d818352b29a3;hp=0000000000000000000000000000000000000000;hpb=8e466600d2aff5f9a4e3deb1ba72ac1047f29fcf;p=mdref%2Fmdref-pq-gateway diff --git a/pq-gateway/pq/Query/Executor/execute.md b/pq-gateway/pq/Query/Executor/execute.md new file mode 100644 index 0000000..45a1837 --- /dev/null +++ b/pq-gateway/pq/Query/Executor/execute.md @@ -0,0 +1,15 @@ +# mixed pq\Query\Executor pq\Query\Executor::execute(\pq\Query\Writer $query, callable $callback); + +Execute the query and process the result with the callback. + +## Params: + +* pq\Query\Writer $query + The query to execute. +* callable $callback + The result processing callback as function(pq\Result $result) + +## Returns: + +* mixed, the return value of the callback. +