Skip to content

Kirby 4.4.1

$database->lastId()

Returns the last id if available

$database->lastId(): int|null

Return type

int|null

Parent class

Kirby\Database\Database