mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
removed var_dump
This commit is contained in:
1 parent
7189b96598
commit
eebbd5bef4
1 file changed
+1
-2
+1
-2
@@ -707,7 +707,6 @@ class Client
|
||||
*/
|
||||
public function count(string $collection, array $filters, array $options): int
|
||||
{
|
||||
|
||||
$filters = $this->cleanFilters($filters);
|
||||
|
||||
// Use MongoDB's native count command with the working format instad of running find and count the results
|
||||
@@ -715,7 +714,7 @@ class Client
|
||||
self::COMMAND_COUNT => $collection,
|
||||
'query' => $this->toObject($filters),
|
||||
];
|
||||
var_dump($command);
|
||||
|
||||
// Add limit if specified
|
||||
if (isset($options['limit'])) {
|
||||
$command['limit'] = (int)$options['limit'];
|
||||
|
||||
Reference in new issue
Block a user