$mysql->tableName()
Validates and quotes a table name
$mysql->tableName(string $table): string
Parameters
Name | Type | Default |
---|---|---|
$tablerequired | string |
no default value |
Return type
string
This method modifies the existing $mysql
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\Mysql
inherited from Kirby\Database\Sql