1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

"OR" SQL Condition in Usermodel

Discussion in 'XenForo Development Discussions' started by ragtek, May 3, 2011.

  1. ragtek

    ragtek Guest

    i haven't found a way, to include a OR condition into the model:(
    Is it possible to get all users matching this pattern:

  2. Mike

    Mike XenForo Developer Staff Member

    You'll likely have to write it manually. You may get better performance by using 2 queries (or a union), due to index usage.

Share This Page