<!ELEMENT query-items (#PCDATA)>

Parent: <gsa-template>, <transaction>

This tag performs queries against the repository. For detailed information, see Querying Items in the Developing and Testing an SQL Repository chapter.

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

Attributes

Attribute

Description

item-descriptor

The item descriptor to use when querying items in the repository (required)

query

Contains the RQL query to issue against item-descriptor. You can also specify the query in the tag body.

id-only

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

Default: false

quiet

Boolean. If true, eliminates log messages for each item returned.

Default: false

print-content

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

Default: false