Skip to content
Snippets Groups Projects
Unverified Commit cce853e0 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Fixes #69 mongo > 4, cursor is mandatory

parent 818c1427
No related branches found
No related tags found
No related merge requests found
...@@ -366,7 +366,7 @@ class ElementRepository extends DocumentRepository ...@@ -366,7 +366,7 @@ class ElementRepository extends DocumentRepository
"_id" => null, "_id" => null,
"allkeys" => ['$addToSet' => '$arrayofkeyvalue.k'] "allkeys" => ['$addToSet' => '$arrayofkeyvalue.k']
]] ]]
]); ], ['cursor' => true]);
return $result['result'][0]['allkeys'] ?? []; return $result['result'][0]['allkeys'] ?? [];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment