mini\Database\Model::saveUnsafe()
Method
public
final
Signature
public final function saveUnsafe(?array $only = NULL, ?mini\Database\Query $scope = NULL): int
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$only |
?array |
NULL
|
Documentation missing |
$scope |
?mini\Database\Query |
NULL
|
Documentation missing |
Returns
int
Documentation
Save entity without authorization check — the guaranteed persistence layer
Handles timestamps, dehydration, validation, and the actual INSERT/UPDATE. Cannot be overridden — override save() instead for custom logic.