Query fields

Table of Contents

GnomeDbQfield - Parent class for any query's field
GnomeDbQfAll - Represents all the fields of an entity (through a GnomeDbTarget object)
GnomeDbQfField - Represents one field of an entity (through a GnomeDbTarget object)
GnomeDbQfFunc - Represents a function (selected by a GnomeDbServerFunction object)
GnomeDbQfAgg -
GnomeDbQfValue - Represents a single value (or a parameter)

Each query can contain some fields which make the query's contents. There are different types of query fields, and each type corresponds to a class and inherits the GnomeDbQfield class.

Any query field can be visible or hidden. A visible field will appear in the entity corresponding to the query (in case of SELECTion queries anyway), and invisible fields are used by other query fields.

Also, any query field can be internal or not. An internal field is one used by the library itself, and should never be known to the user of the library (so it is just mentionned here for completeness).

Some fields can represent more than one value (usefull for IN operators for example).

The different types of query fields are: