Permalink
Browse files

add support for skip() and limit()

  • Loading branch information...
1 parent 81bab52 commit dfa06d086a825d51d1472f19e2e494f55cf331bf @scourgen scourgen committed Jan 28, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 DataCollector/PrettyDataCollector.php
@@ -108,6 +108,10 @@ public function collect(Request $request, Response $response, \Exception $except
}
}
$query .= ')';
+ } elseif (isset($log['skip'])) {
+ $query .= '.skip('.$log['skipNum'].')';
+ } elseif (isset($log['limit'])) {
+ $query .= '.limit('.$log['limitNum'].')';
} elseif (isset($log['createCollection'])) {
$query .= '.createCollection()';
} elseif (isset($log['createDBRef'])) {

0 comments on commit dfa06d0

Please sign in to comment.