$mysql->tableName()
Validates and quotes a table name
$mysql->tableName(string $table): string
Parameters
| Name | Type | Default |
|---|---|---|
| $table * | string |
– |
Return type
string
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
if an invalid table name is given |
Parent class
Kirby\Database\Sql\Mysql inherited from Kirby\Database\Sql