Skip to content

Kirby 3.8.4

$sqlite->splitIdentifier()

Splits a (qualified) identifier into table and column

$sqlite->splitIdentifier(string $table, string $identifier): array

Parameters

Name Type Default Description
$table * string Default table if the identifier is not qualified
$identifier * string

Return type

array

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException if an invalid identifier is given

Parent class

Kirby\Database\Sql\Sqlite inherited from Kirby\Database\Sql