Define 'LIKE%%' operator in each driver

This commit is contained in:
Peter Knut
2024-10-11 23:01:28 +02:00
parent e378f7d817
commit 13752c0498
16 changed files with 24 additions and 24 deletions

View File

@@ -265,10 +265,6 @@ if (isset($_GET["elastic"])) {
return $this->_conn->affected_rows;
}
function convertOperator($operator) {
return $operator == "LIKE %%" ? "should" : $operator;
}
}
function connect() {
@@ -581,6 +577,7 @@ if (isset($_GET["elastic"])) {
'possible_drivers' => array("json + allow_url_fopen"),
'jush' => "elastic",
'operators' => array("=", "must", "should", "must_not"),
'operator_like' => "should",
'functions' => array(),
'grouping' => array(),
'edit_functions' => array(array("json")),