Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
database::connect($params = null)
Connects to a database
$params
(mixed)
This can either be a config key or an array of parameters for the connection
return
(object)
↑
Toolkit API overview
←
database::__call
→
database::connection
↓
Back to Toolkit API section
Top