Skip to content

Kirby 5.1.3

$database->prefix()

Returns the used table name prefix

$database->prefix(): string|null

Return types

stringornull

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

Parent class

Kirby\Database\Database