Tag: join in model

  • Zend: Join doesn’t work in my model

    Zend provides JOIN, joinLeft, joinRight keywords to join two or multiple tables.  you can make an sql object by calling select function of current model by: $select = $this->getDbTable()->select(); Use below line to use JOIN terms in your SQL: $select->setIntegrityCheck(false); By default its integrity value set to True and it do not allow to use…