Rockbox General > Rockbox General Discussion

OR tag in custom database view?

(1/1)

onocentaur:
I've been following the instruction on the database page in the wiki to make my a custom browser, but I'd really like to filter some things using OR. But I don't know what the code is! The wiki only has & for AND, can anyone tell me what OR is?

GodEater:
I suspect it's probably | (the pipe symbol if you're a unix weenie like me).

onocentaur:
I'll try that, thanks.

roolku:

--- Quote from: onocentaur on May 21, 2007, 03:32:30 PM ---The wiki only has & for AND, can anyone tell me what OR is?

--- End quote ---

There is no support for OR. Depending on what you are trying to achieve, the @ operator might be useful.

onocentaur:
Hmmm. @ might be usable, just more code. I'll see. Thanks for the definitive info though  :)

Navigation

[0] Message Index

Go to full version