Skip to content

Kirby 5.0.4

$sqlite->tableName()

Validates and quotes a table name

$sqlite->tableName(string $table): string

Parameters

Name Type Default
$tablerequired string no default value

Return type

string

This method modifies the existing $sqlite object it is applied to and returns it again.

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException if an invalid table name is given

Parent class

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