안녕하세요, 제가 zend db select에 참여하고 싶습니다. 내가 setintegritycheck()
조인에 importants 알아. 나는SetIntegrityCheck를 Zend의 DB 어댑터에서
$select = $this->select();
$select->setintegritycheck(false);
$select->from(array('info'),array())
->join(array('cfields'),'info.class=cfields.class_id',array('field_id','type_id'))
->where('info.id=2');
같은 모델 객체가 오전하지만 내 경우에는 내가 모델에 아닙니다 때 그것을 구현하는 방법을 알고있다. 나는 dbadapter
을 가지고있다. 지금이
$dbAdapter = MyManager::getDbAdapator('project');
$select = $dbAdapter->select('info');
$select->setIntegrityCheck(false);
$select->from(array('info'),array())
->join(array('cfields'),'info.class=cfields.class_id',array('field_id','type_id'))
->where('info.id=2');
라인
$dbAdapter = MyManager::getDbAdapator('project');
처럼 내 쿼리를 프로젝트 데이터베이스의 어댑터를 반환 쓰고 있어요, 나는 그것을 cerfied했다. 지금 내 선택 객체가 DB 어댑터에서이 경우에 내가 setintegritycheck
를 얻으려고 할 때 내가 어떤 몸 나는이 경우 integritycheck 넣을 수있는 방법을 말해 줄 수 오류를
Unrecognized method 'setIntegrityCheck()'
를 생성합니다.