- Some bugfixes made in Relation

- Fixed search() methods in EntityCollection
- Work done on Relations of EntityTrait ; a lot of work still to be done. It must also move to another file.
This commit is contained in:
Dave Mc Nicoll committed 2020-06-11 08:47:15 -04:00
1 parent 4d221859fc
commit 8e521025d3
4 files changed
+40 -15

No files matched your search

+2 -2
View File
@@ -68,12 +68,12 @@ class Repository
return Ulmus::runSelectQuery($this->queryBuilder, $this->adapter)->fetchColumn(0);
}
public function deleteOne()
protected function deleteOne()
{
return $this->limit(1)->deleteSqlQuery()->runQuery();
}
public function deleteAll()
protected function deleteAll()
{
return $this->deleteSqlQuery()->runQuery();
}