Skip to content

Kirby 4.5.0

Db::connection()

Returns the current database connection

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

Return type

Kirby\Database\Database|null

Parent class

Kirby\Database\Db