dsklfsdlkf1232 2014-04-10 23:20
浏览 26
已采纳

Phalcon php - Multiples加入

When I try to add more than one inner join in my query I have the following error:

Scanning error before '] JOIN [] JOIN [...' when parsing

Here's my code:

$query = myModelHere::query()
    ->innerJoin("Model1")
    ->innerJoin("Model2")
    ->limit(10)
    ->execute();

Someone had that problem?

  • 写回答

2条回答 默认 最新

  • dongshan1811 2014-04-11 14:34
    关注

    It's a bug and was solved in 1.3.2 version

    See: https://github.com/phalcon/cphalcon/pull/2220

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?