1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

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")),