Title: Qualifier Expressions
This chapter is dedicated to the use of expressions as qualifiers. A detailed discussion on expressions in general is provided at Expressions. |
The previous chapter showed how to build a query to fetch all data from a single table. In most situations though only a subset of data matching a certain criteria is needed. Cayenne provides an expressions package to control the filtering behavior of the queries. Expressions applied to queries are called "qualifiers".
SelectQuery provides a few ways to initialize and modify the qualifier: