Skip to content

Commit

Permalink
dev, Oracle DB fix (3)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Jan 25, 2024
1 parent 582f2ec commit d4036b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Db/ExAppMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function findAll(int $limit = null, int $offset = null): array {
'd.accepts_deploy_id',
)
->from($this->tableName, 'a')
->leftJoin('a','ex_apps_daemons','d','a.daemon_config_name = d.name')
->leftJoin('a', 'ex_apps_daemons', 'd', $qb->expr()->eq('a.daemon_config_name', 'd.name'))
->setMaxResults($limit)
->setFirstResult($offset);
return $this->findEntities($qb);
Expand All @@ -60,7 +60,7 @@ public function findByAppId(string $appId): Entity {
'd.accepts_deploy_id',
)
->from($this->tableName, 'a')
->leftJoin('a','ex_apps_daemons','d','a.daemon_config_name = d.name')
->leftJoin('a', 'ex_apps_daemons', 'd', $qb->expr()->eq('a.daemon_config_name', 'd.name'))
->where(
$qb->expr()->eq('a.appid', $qb->createNamedParameter($appId))
);
Expand Down

0 comments on commit d4036b6

Please sign in to comment.