When the fields parameter includes link fields, the maximum number of values returned for each link can be controlled individually. As an example, consider the following link path:
When a WHERE filter is used (see previous section), a size limit for the same field should be provided
after the
WHERE clause. The following examples show the same query with alternate syntax variations:
The WHERE clause is always qualified with a dot, whereas field names can be qualified with a dot or within parentheses. Placing the size limit after the
WHERE clause helps to signify that field values are first filtered by the
WHERE condition; the filtered set is then limited by the size limit. Also as shown, parenthetical qualification is preferable when multiple extended fields are listed
after a link that uses a
WHERE filter. (Using purely dotted notation, the
WHERE condition would have to be repeated.)