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 36
__construct(Connection $connection, Structure $structure, Conventions $conventions = null, IStorage $cacheStorage = null)
No description
at line 49
void
beginTransaction()
No description
at line 55
void
commit()
No description
at line 61
void
rollBack()
No description
at line 70
mixed
transaction(callable $callback)
No description
at line 78
string
getInsertId(string $sequence = null)
No description
at line 88
ResultSet
query(string $sql, ...$params)
Generates and executes SQL query.
at line 95
ResultSet
queryArgs(string $sql, array $params)
deprecated
deprecated
No description
at line 101
Selection
table(string $table)
No description
at line 107
Connection
getConnection()
No description
at line 113
IStructure
getStructure()
No description
at line 119
Conventions
getConventions()
No description
at line 132
Row|null
fetch(string $sql, ...$params)
Shortcut for query()->fetch()
at line 143
mixed
fetchField(string $sql, ...$params)
Shortcut for query()->fetchField()
at line 153
array|null
fetchFields(string $sql, ...$params)
Shortcut for query()->fetchFields()
at line 163
array
fetchPairs(string $sql, ...$params)
Shortcut for query()->fetchPairs()
at line 173
array
fetchAll(string $sql, ...$params)
Shortcut for query()->fetchAll()
at line 179
static SqlLiteral
literal(string $value, ...$params)
No description
Traits
Strict class for better experience.