OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions OR and AND clause in datagrid query

This topic contains 1 reply, has 1 voice, and was last updated by  fred33 7 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #28937

    fred33
    Participant

    Hi,
    is it possible to have OR and AND clause in the same query
    where:
    and:
    – ………..
    – ……….
    or:
    – ………..
    – ………..

    or is there another way to proceed ??

    Thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #28938

    fred33
    Participant

    I answer myself
    where:
    and:
    – (a.aaaa = :xxxx OR a.bbbb = :xxxx)
    – a.cccc = ffffff

Viewing 1 replies (of 1 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top