The <query-items> tag has no child tags. See Querying Items in the Development, Testing and Debugging with the SQL Repository chapter.

This tag can also be used for loading caches. See Cache Loading in the SQL Repository Caching chapter.

query-items Tag Attributes

Attribute

Description

Value

item-descriptor

The name of the item descriptor to use when querying items in the repository.

Required.

query

The query to issue against the item-descriptor. Instead of using this attribute, it is usually more convenient to specify the query in the body of the query-items tag in a PCDATA section.

An RQL query.

id-only

If true, logs only the repository ID of the items returned by the query.

Boolean; default is false.

quiet

If true, eliminates log messages for each item returned.

Boolean; default is false.

print-content

If true, prints the content property of the repository items returned by the query.

Boolean; default is false.

 
loading table of contents...