orm changes

This commit is contained in:
Yuri Kuznetsov
2020-08-02 23:25:58 +03:00
parent da3e214ecd
commit 4e938d98fc
7 changed files with 34 additions and 32 deletions
+5 -2
View File
@@ -34,7 +34,7 @@ use Espo\ORM\{
Collection,
EntityFactory,
Metadata,
DB\Query\Base as Query,
DB\Query\BaseQuery as Query,
EntityCollection,
Sth2Collection,
};
@@ -1333,5 +1333,8 @@ abstract class BaseMapper implements Mapper
return $sql;
}
abstract protected function toDb(string $attribute);
protected function toDb(string $attribute)
{
return $this->query->toDb($attribute);
}
}