Welcome Guest, Not a member yet? Register   Sign In
Quick datamapper query question
#3

[eluser]Andy78[/eluser]
[quote author="WanWizard" date="1332438286"]This is clearly correct, given the question you have asked.

But maybe you're asking the wrong question, and do you mean: user_status != ‘deleted’ AND (user_type_id = 1 OR user_type_id = 2).

Datamapper can't guess that you want (or need) brackets in there, so you'll have to add them. Look in the manual for query grouping...[/quote]

Thanks


Messages In This Thread
Quick datamapper query question - by El Forum - 03-22-2012, 10:27 AM
Quick datamapper query question - by El Forum - 03-22-2012, 10:44 AM
Quick datamapper query question - by El Forum - 03-23-2012, 02:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB