removed var_dump

This commit is contained in:
shimon committed 2025-09-11 15:49:24 +03:00
1 parent 7189b96598
commit eebbd5bef4
1 file changed
+1 -2
+1 -2
View File
@@ -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'];