Skip to content

Kirby 5.2.0

$database->sql()

Returns the correct Sql generator instance for the type of database

$database->sql(): Kirby\Database\Sql

Return type

Kirby\Database\Sql

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

Parent class

Kirby\Database\Database