Move edit functions to Driver

This commit is contained in:
Jakub Vrana
2025-03-06 13:15:38 +01:00
parent 37a75f3759
commit 2f0cd4185b
14 changed files with 65 additions and 67 deletions

View File

@@ -122,6 +122,8 @@ if (isset($_GET["elastic"])) {
}
class Driver extends SqlDriver {
var $editFunctions = array(array("json"));
function __construct($connection) {
parent::__construct($connection);
$this->types = array(
@@ -569,7 +571,6 @@ if (isset($_GET["elastic"])) {
'operators' => array("=", "must", "should", "must_not"),
'functions' => array(),
'grouping' => array(),
'edit_functions' => array(array("json")),
);
}
}