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=...>
...
  <named-query>
     <rql-query>
       <query-name>myQuery</query-name>
       <rql>name = ?0.name AND age = ?1.age</rql>
     </rql-query>
  </named-query>
</item-descriptor>
 
loading table of contents...