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

@@ -192,15 +192,14 @@ if (isset($_GET["pgsql"])) {
$this->types[lang('Strings')]["jsonb"] = 4294967295;
}
}
$this->insertFunctions = array(
"char" => "md5",
"date|time" => "now",
);
$this->editFunctions = array(
array(
"char" => "md5",
"date|time" => "now",
), array(
number_type() => "+/-",
"date|time" => "+ interval/- interval", //! escape
"char|text" => "||",
)
number_type() => "+/-",
"date|time" => "+ interval/- interval", //! escape
"char|text" => "||",
);
if (min_version(12, 0, $connection)) {
$this->generated = array("STORED");