Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Query modifiers can modify the query behavior and the result format

ConstructModifierValueDescription
Query   
 varstring: comma-separated list of prefixesDeclares custom variable prefixes
 DocumentationstringDescription of the query
 Storagestring or structureDefinition or simple name of TQL storage (DB name and connection parameters)
Find   
 usingstring or structureList of namespaces 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, $name

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
 OnlystringList of attributes to fetch. Comma-separated list of attribute names with optional predicates
 Distinctstring: model name or model-level variable name 
 nestedstring "*"expand all references to unlimited depth
 orderBystring: list of qualified attribute names 
 FromstringDot-delimited path to source container
Create   
 formatsame as in find 
 Assame as in find except only two first parts are used 
 Onlysame 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   
 formatsame as in find 
 Assame as in Create 
 Onlysame as in CreateList of attributes to store
 nestedsame as in Create 
Update   
 formatsame as in Find 
    
 Assame as in Create 
 Onlysame as in CreateList of attributes to update
 Fromsame as in Find/CreateDot-delimited path to source container
Delete   
 using  
 

as

same as in CreateUpdates the container hierarchy of the result set
 formatsame as in Find 
 Onlysame as in CreateList of attributes to delete
    
DeleteAll  follows the same syntax as Find; all found instances are deleted;
 usingsame as in Find 
 

as

same as in FindUpdates the container hierarchy of the result set
 formatsame as in Find 
 Onlysame as in FindList of attributes to delete
 Fromsame as in FindDot-delimited path to source container
    
    
  • No labels