Zend Framework Db Select Join table help

后端 未结 4 1037
醉话见心
醉话见心 2021-01-05 20:22

I have this query:


SELECT g.title, g.asin, g.platform_id, r.rank
        FROM games g
        INNER JOIN ranks r ON ( g.id = r.game_id )
        ORDER BY r.         


        
4条回答
  •  伪装坚强ぢ
    2021-01-05 20:52

    I am going to assume you've solved this, but it would be nice to leave the answer for others.

    Add this below the instantiation of the select object.

    $query->setIntegrityCheck(false);
    

提交回复
热议问题