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 37
__construct(Connection $connection, Structure $structure, Conventions|null $conventions = null, IStorage|null $cacheStorage = null)
No description
at line 50
void
beginTransaction()
No description
at line 56
void
commit()
No description
at line 62
void
rollBack()
No description
at line 71
mixed
transaction(callable $callback)
No description
at line 79
string
getInsertId(string|null $sequence = null)
No description
at line 89
ResultSet
query(string $sql, ...$params)
Generates and executes SQL query.
at line 101
ResultSet
queryArgs(string $sql, array $params)
deprecated
deprecated
No description
at line 107
Selection
table(string $table)
No description
at line 113
Connection
getConnection()
No description
at line 119
IStructure
getStructure()
No description
at line 125
Conventions
getConventions()
No description
at line 138
Row|null
fetch(string $sql, ...$params)
Shortcut for query()->fetch()
at line 154
mixed
fetchField(string $sql, ...$params)
Shortcut for query()->fetchField()
at line 168
array|null
fetchFields(string $sql, ...$params)
Shortcut for query()->fetchFields()
at line 183
array
fetchPairs(string $sql, ...$params)
Shortcut for query()->fetchPairs()
at line 198
array
fetchAll(string $sql, ...$params)
Shortcut for query()->fetchAll()
at line 209
static SqlLiteral
literal(string $value, ...$params)
No description