This commit is contained in:
Dave Mc Nicoll 2023-11-17 16:00:59 -05:00
commit 7f8780d328
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ class Repository
$pkField = key($primaryKeyField);
return $this->where($this->entityClass::field($primaryKeyField[$pkField]->name ?? $pkField, false), $value);
return $this->where($this->entityClass::field($primaryKeyField[$pkField]->name ?? $pkField, $alias), $value);
}
public function withJoin(string|array $fields, array $options = []) : self