Skip to content

Kirby 5.0.4

$database->table()

Sets the current table, which should be queried. Returns a Query object, which can be used to build a full query for that table

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

Parameters

Name Type Default
$tablerequired string no default value

Return type

Kirby\Database\Query

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

Parent class

Kirby\Database\Database