Skip to content

Kirby 4.2.0

$database->affected()

Returns the number of affected rows for the last query

$database->affected(): int|null

Return type

int|null

Parent class

Kirby\Database\Database