Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Query modifiers can modify either the query behavior or and the result format

ConstructModifierDomainValueDescription
Query   
 var Temporary store name for the result containerstring: comma-separated list of prefixesDeclares custom variable prefixes
 Documentation stringDescription of the query
 Storage  string or structureDefinition or simple name of TQL storage (DB name and connection parameters)
Find   
 using string or structureList of namespace hintnamespaces hint or additional type/model definitions
 

as

string in the form Nr:Nrs[:Ni] where

Nx can be a dot-separated QName or

one of $none,

$Sid

$sid,

$Name

$name

Updates Defines the container hierarchy of the result set
 format

string: comma-separated list of

version, current

 

, timestamp, qname, fname,

order, order+, datetime, meta, all

shows additional meta-data associated with each attribute
 Only stringList of attributes to fetch. Comma-separated list of attribute names with optional predicates
 Distinct string: model name or model-level variable name 
 Sequence colon separated attribute list nestedstring "*"expand all references to unlimited depth
 orderBy string: list of qualified attribute names 
 From stringDot-delimited path to source container
Create   
 format

string: comma-separated list of

version, current, timestamp, qname, fname,

order, order+,

timestamp 

datetime, meta, all

shows additional meta-data associated with each attribute
 As same as in find except only two first parts are used 
 Only same as in find; creates only given attributes, ignores the restList of attributes to store
   nested

string "*" recursively split given structure by defined references

and replaces content with reference value

 
Save   
 format

string: comma-separated list of

version, current, timestamp, qname, fname,

order,

timestamp 

order+, datetime, meta, all

shows additional meta-data associated with each attribute
 As same as in find except only two first parts are used 
 Only ssame as in find; creates only given attributes, ignores the restList of attributes to store
 nested"*"same as in Create 
Update   
 format

string: comma-separated list of

version, current, timestamp, qname, fname,

order,

timestamp 

order+, datetime, meta, all

shows additional meta-data associated with each attribute
    
 As same as in find except only two first parts are used 
 Only same as in find; updates only given attributes, ignores the restList of attributes to update
 From same as in Find/CreateDot-delimited path to source container
Delete   
 using  
 

as

$none, ContainerName
same as in find except only two first parts are usedUpdates the container hierarchy of the result set
 format

string: comma-separated list of

version, current

 

, timestamp, qname, fname,

order, order+, datetime, meta, all

shows additional meta-data associated with each attribute
 Only same as in find; deletes only given attributes, ignores the restList of attributes to delete
 Distinct      
DeleteAll   follows the same syntax as Find; all found instances are deleted;
 using same as in Find 
 

as

$none, ContainerName
same as in find except only two first parts are usedUpdates the container hierarchy of the result set
 format

string: comma-separated list of

version, current

 

, timestamp, qname, fname,

order, order+, datetime, meta, all

shows additional meta-data associated with each attribute
 Only same as in find; delete only given attributes, ignores the restList of attributes to delete
 Distinct   From stringDot-delimited path to source container