Database::instance()
Returns one of the started instances
Database::instance(?string $id = null): Kirby\Database\Database|null
Parameters
Name | Type | Default |
---|---|---|
$id | string |null |
null |
Returns one of the started instances
Database::instance(?string $id = null): Kirby\Database\Database|null
Name | Type | Default |
---|---|---|
$id | string |null |
null |