finish pq\Query
[mdref/mdref-pq-gateway] / pq-gateway / pq / Query / Executor / execute.md
diff --git a/pq-gateway/pq/Query/Executor/execute.md b/pq-gateway/pq/Query/Executor/execute.md
new file mode 100644 (file)
index 0000000..45a1837
--- /dev/null
@@ -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.
+