BaseUtils.php
system/Database/BaseUtils.php
1 class
10 methods
class BaseUtils
Class BaseUtils
__construct
(ConnectionInterface $db)
listDatabases
()
databaseExists
(string $databaseName)
optimizeTable
(string $tableName)
optimizeDatabase
()
repairTable
(string $tableName)
getCSVFromResult
(ResultInterface $query, string $delim = ',', string $newline = "\n", string $enclosure = '"')
getXMLFromResult
(ResultInterface $query, array $params = [])
backup
($params = [])
_backup
(?array $prefs = null)