mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
adb0c809a0
Model::exists() now makes no check whatsoever on the value of Model::$useTable. This means that, as with a database-backed dbo, Model::exists() will call Model::find('count') (which in turn calls DataSource::read()) to determine if the record identified by Model::$id already exists in the datasource. |
||
---|---|---|
.. | ||
behaviors | ||
datasources | ||
app_model.php | ||
cake_schema.php | ||
connection_manager.php | ||
db_acl.php | ||
model.php | ||
model_behavior.php |