단순 코드 Propel reusing query이 코드는 Propel 웹 사이트의 예제와 비슷하지만 여기서는 작동하지 않습니다. 이것은 버그인가, 나쁘냐?Propel 쿼리 버그 또는 재사용 재사용?
$q = MashupSettingQuery::create()->filterByMashup($this);
var_dump($q->count(), $q->findOneByKey('redirect_uri'), $q->count());
출력은 다음과 같습니다, resusing가 작동하지 않는됩니다
int 5
object(MashupSetting)[28]
protected 'startCopy' => boolean false
protected 'id' => int 9
protected 'key' => string 'redirect_uri' (length=12)
int 1
count()
처음으로 돌아 오 후 1
심지어 MashupSettingQuery::create()->filterByMashup($this)->keepQuery(true)
문제가 해결되지 않은 사용하기 때문이다.
의사에 따르면, 작동해야합니다. 그렇지 않으면 버그를 발견했습니다. –