Explorer
class Explorer
Database explorer.
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
Shortcut for query()->fetch()
Shortcut for query()->fetchField()
Shortcut for query()->fetchFields()
Shortcut for query()->fetchPairs()
Shortcut for query()->fetchAll()
No description
Details
at line 32
__construct(Connection $connection, Structure $structure, Conventions|null $conventions = null, Storage|null $cacheStorage = null)
No description
at line 45
void
beginTransaction()
No description
at line 51
void
commit()
No description
at line 57
void
rollBack()
No description
at line 63
mixed
transaction(callable $callback)
No description
at line 69
string
getInsertId(string|null $sequence = null)
No description
at line 79
ResultSet
query(string $sql, ...$params)
Generates and executes SQL query.
at line 86
ResultSet
queryArgs(string $sql, array $params)
deprecated
deprecated
No description
at line 93
Selection
table(string $table)
No description
at line 99
Connection
getConnection()
No description
at line 105
IStructure
getStructure()
No description
at line 111
Conventions
getConventions()
No description
at line 124
Row|null
fetch(string $sql, ...$params)
Shortcut for query()->fetch()
at line 134
mixed
fetchField(string $sql, ...$params)
Shortcut for query()->fetchField()
at line 144
array|null
fetchFields(string $sql, ...$params)
Shortcut for query()->fetchFields()
at line 154
array
fetchPairs(string $sql, ...$params)
Shortcut for query()->fetchPairs()
at line 164
array
fetchAll(string $sql, ...$params)
Shortcut for query()->fetchAll()
at line 170
static SqlLiteral
literal(string $value, ...$params)
No description
Traits
Strict class for better experience.