- Fixed SQLite truncate, added AdapterProxy autoloading

This commit is contained in:
Dave Mc Nicoll committed 2025-05-12 15:11:00 +00:00
1 parent 1ec582d1ac
commit 761e0401b0
7 files changed
+105 -6

No files matched your search

+2 -2
View File
@@ -43,12 +43,12 @@ trait EntityTrait {
#[Ignore]
public function initializeEntity(iterable|null $dataset = null) : void
{
$this->datasetHandler = new DatasetHandler(static::resolveEntity(), $this->entityStrictFieldsDeclaration);
if ($dataset) {
$this->fromArray($dataset);
}
$this->datasetHandler = new DatasetHandler(static::resolveEntity(), $this->entityStrictFieldsDeclaration);
$this->resetVirtualProperties();
}