Thread:Project:Support desk/Using 'OR' operator in queries

Simple questions, hopefully a simple solution.

Basically, 'real' SQL queries allow you to do this: .WHERE 'foo' = 'pi' OR 'bar' = 'pi'

Doing the same in 'Mediawiki style' isn't quite as apparent, though. It seems to only be known how to use the AND operator, like so:

'foo' => 'pi', 'bar' => 'pi'

...With the above example being equivalent to:

WHERE 'foo' = 'pi' AND 'bar' = 'pi'

In the simpleest of terms: How can I uss the 'OR' operator in a query while staying true to the 'wiki' style? I guess I could use the query function (As opposed to delete, select, update, write and so forth), but the rest of my queries are 'wiki' style and I prefer for things to remain uniform.

Thanks, if you happen to have the answer.