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 25
__construct(Connection $connection, IStructure $structure, Conventions|null $conventions = null, Storage|null $cacheStorage = null)
No description
at line 35
void
beginTransaction()
No description
at line 41
void
commit()
No description
at line 47
void
rollBack()
No description
at line 53
mixed
transaction(callable $callback)
No description
at line 59
string
getInsertId(string|null $sequence = null)
No description
at line 69
ResultSet
query(string $sql, ...$params)
Generates and executes SQL query.
at line 76
ResultSet
queryArgs(string $sql, array $params)
deprecated
deprecated
No description
at line 82
Selection
table(string $table)
No description
at line 88
Connection
getConnection()
No description
at line 94
IStructure
getStructure()
No description
at line 100
Conventions
getConventions()
No description
at line 113
Row|null
fetch(string $sql, ...$params)
Shortcut for query()->fetch()
at line 123
mixed
fetchField(string $sql, ...$params)
Shortcut for query()->fetchField()
at line 133
array|null
fetchFields(string $sql, ...$params)
Shortcut for query()->fetchFields()
at line 143
array
fetchPairs(string $sql, ...$params)
Shortcut for query()->fetchPairs()
at line 153
array
fetchAll(string $sql, ...$params)
Shortcut for query()->fetchAll()
at line 159
static SqlLiteral
literal(string $value, ...$params)
No description