MongoDB: Fix operators

This commit is contained in:
Jakub Vrana 2021-02-09 20:12:41 +01:00
parent 6af375c67d
commit 5d317111c7

View file

@ -735,10 +735,11 @@ if (isset($_GET["mongo"])) {
} }
function driver_config() { function driver_config() {
global $operators;
return array( return array(
'possible_drivers' => array("mongo", "mongodb"), 'possible_drivers' => array("mongo", "mongodb"),
'jush' => "mongo", 'jush' => "mongo",
'operators' => array(""), 'operators' => $operators,
'functions' => array(), 'functions' => array(),
'grouping' => array(), 'grouping' => array(),
'edit_functions' => array(array("json")), 'edit_functions' => array(array("json")),