ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroPlatform OroPlatform – How do I? Questions doctrine getResult() output is different than normal select sql

This topic contains 1 reply, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year ago.

  • Creator
    Topic
  • #62833

    bosumflici
    Participant

    Hi,

    I have this code in a controller:

    and this is the equivalent sql command from the debug log:

    The problem is that they are not returning the same result. For the above values the querybuilder return only 2 records, and the normal sql select command return 6 records. Of course the second one is the correct one!!!

    I cannot figure out why querybuilder returns different result for any values than the normal sql command.

    If someone can help i appreciate!
    PS: i tried getArrayResult() with no effect.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

ssossossosso