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

Split editFunctions

This commit is contained in:
Jakub Vrana
2025-03-28 14:53:53 +01:00
parent 46f6a96c95
commit 195341d075
11 changed files with 40 additions and 48 deletions

View File

@@ -104,7 +104,7 @@ if (isset($_GET["elastic"])) {
static array $possibleDrivers = array("json + allow_url_fopen");
static string $jush = "elastic";
public array $editFunctions = array(array("json"));
public array $insertFunctions = array("json");
public array $operators = array("=", "must", "should", "must_not");
function __construct(Db $connection) {

View File

@@ -145,7 +145,7 @@ if (isset($_GET["imap"])) {
class Driver extends SqlDriver {
static array $possibleDrivers = array("imap");
static string $jush = "imap";
public array $editFunctions = array(array("json"));
public array $insertFunctions = array("json");
}
function logged_user() {

View File

@@ -296,7 +296,7 @@ if (isset($_GET["mongo"])) {
static array $possibleDrivers = array("mongodb");
static string $jush = "mongo";
public array $editFunctions = array(array("json"));
public array $insertFunctions = array("json");
public array $operators = array(
"=",