$query->primaryKeyName()
Sets the name of the primary key column
$query->primaryKeyName(string $primaryKeyName): Kirby\Database\Query
Parameters
Name | Type | Default |
---|---|---|
$primaryKeyNamerequired | string |
no default value |
Return type
This method modifies the existing $query
object it is applied to and returns it again.