GNQuery

Build 1501 on 14/Nov/2017  This topic last edited on: 27/Oct/2016, at 17:49

GNQuery is a way to write queries in GN4, Tark4 and GNPortal systems. It is based on the XPath and XQuery standards, it can express complex queries in a very concise way and supports a broad variety of expressions, relationships and attribute types.

GNQuery is a replacement for the existing ‘search conditions’ queries written as custom XML files. In versions 1.5 and 1.6 the implementation is partial, and works only for some commands (see below for details). In 2.0 the implementation is almost full, i.e. all the searches go through GNQuery, but are not available in the configuration files. Since the version 2.1, all GNQuery features are available also on the configuration level.

The search conditions queries are still available since the version 1.5 and in all newer versions for the backward compatibility.

The following documentation assumes that the reader is familiar with XPath (version 1.0) and with the standard XML representation used by GN4, Tark4 and GNPortal systems.

 

_info2 Use the Table of Contents to find information. See also Using table of contents in help.