An RQL query uses standard RQL query definition. The RQL statement in your named query can use any features available in RQL, including parameters and fields in parameters.

The RQL query can be defined in a repository definition file, using an <rql-query> element as a child of a <named-query> element. For example:

<item-descriptor name=...>
       <rql>name = ? AND age = ?1.age</rql>
loading table of contents...