Helpers
class Helpers
Methods
static string
dump($sql = null, $return = false)
Prints out a syntax highlighted version of the SQL command or Result.
static string|null
getSuggestion(array $items, $value)
Finds the best suggestion.
static string|null
detectType($type)
Heuristic type detection.
static
getTypeCache()
No description
static void
alias($config, $key, $alias)
Apply configuration alias or default values.
static int
static string|int
intVal($value)
No description
Details
at line 25
static string
dump($sql = null, $return = false)
Prints out a syntax highlighted version of the SQL command or Result.
at line 142
static string|null
getSuggestion(array $items, $value)
internal |
Finds the best suggestion.
at line 158
static
escape(Driver $driver, $value, $type)
internal |
No description
at line 182
static string|null
detectType($type)
internal |
Heuristic type detection.
at line 208
static
getTypeCache()
internal |
No description
at line 224
static void
alias($config, $key, $alias)
Apply configuration alias or default values.
at line 242
static int
loadFromFile(Connection $connection, $file, callable $onProgress = null)
Import SQL dump from file.
at line 291
static string|int
intVal($value)
internal |
No description
Traits
Better OOP experience.