1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 10:34:01 +02:00

Move possible drivers and JUSH to Driver

This commit is contained in:
Jakub Vrana
2025-03-06 14:27:58 +01:00
parent 049536da90
commit 5fdaae27dc
14 changed files with 38 additions and 83 deletions

View File

@@ -23,6 +23,9 @@ function get_driver($id) {
}
abstract class SqlDriver {
static $possibleDrivers = array();
static $jush; ///< @var string JUSH identifier
var $_conn;
protected $types = array(); ///< @var array [$description => [$type => $maximum_unsigned_length, ...], ...]
var $editFunctions = array(); ///< @var array of ["$type|$type2" => "$function/$function2"] functions used in editing, [0] - edit and insert, [1] - edit only