$query->table()
Sets the name of the table, which should be queried
$query->table(string $table): Kirby\Database\Query
Parameters
| Name | Type | Default |
|---|---|---|
| $tablerequired | string |
no default value |
Return type
This method modifies the existing $query object it is applied to and returns it again.
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
if the table does not exist |