Skip to content

Kirby 3.6.1.1

$query->table()

Sets the name of the table, which should be queried

$query->table(string $table): Kirby\Database\Query

Parameters

Name Type Default
$table * string

Return type

Kirby\Database\Query

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException if the table does not exist

Parent class

Kirby\Database\Query