$sqlite->splitIdentifier()
Splits a (qualified) identifier into table and column
$sqlite->splitIdentifier(string $table, string $identifier): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $tablerequired | string |
no default value | Default table if the identifier is not qualified |
| $identifierrequired | string |
no default value |
Return type
array
This method modifies the existing $sqlite object it is applied to and returns it again.
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
if an invalid identifier is given |
Parent class
Kirby\Database\Sql\Sqlite
inherited from Kirby\Database\Sql