DMZ 1.7.1 (DataMapper OverZealous Edition) |
[eluser]OverZealous[/eluser]
@Poetawd One tip: make sure you wrap your likes in a group, or the logic may return unexpected results. What you have there logically is this: Code: // Generated query Which is actually interpreted as this, due to operator precedence: Code: // Most likely incorrect Also, once you wrap it, you can just or all of the results, without the $position check. This is because DMZ automatically drops the first operator when grouping items to prevent errors. Code: $columns = array('engine','browser','platform','version','grade'); :-) |
Welcome Guest, Not a member yet? Register Sign In |