Skip to content

Kirby 4.4.1

Db::connection()

Returns the current database connection

Db::connection(): Kirby\Database\Database|null

Return type

Kirby\Database\Database|null

Parent class

Kirby\Database\Db