Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: nine plus zero?
(Example: nine)

The Note You're Voting On

nick dot veitch at futurenet dot co dot
22 years ago
It might be useful to list here the operators that work:

= - matches exact value
=*xxx - matches values ending xxx
=xxx* - matches values beginning xxx
=*xxx* - matches values containing xxx
=* - matches all values (if set - NULLS are not returned)

>=xxx - matches everthing from xxx to end of directory
<=xxx - matches everything up to xxx in directory

~=xxx - matches similar entries (not all systems)

Boolean operators for constructing complex search

&(term1)(term2) - matches term1 AND term2
| (term1)(term2) - matches term1 OR term2
!(term1) - matches NOT term1
&(|(term1)(term2))(!(&(term1)(term2)) - matches XOR term1 term2

some of the more compelx constructions seem to work with varying degrees of efficiency - sometimes it can be better to filter some of the results with the search and do further filtering in PHP.

<< Back to user notes page

To Top