Clause (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Maxim@tygron.com (talk | contribs)
Maxim@tygron.com (talk | contribs)
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 40: Line 40:
{{: Grid with attribute (TQL Param)}}
{{: Grid with attribute (TQL Param)}}
{{: Gridtype (TQL Param)}}
{{: Gridtype (TQL Param)}}
{{: Resulttype (TQL Param)}}
{{: Gridvalue (TQL Param)}}
{{: Gridvalue (TQL Param)}}
{{: Mingridvalue (TQL Param)}}
{{: Mingridvalue (TQL Param)}}
{{: Maxgridvalue (TQL Param)}}
{{: Maxgridvalue (TQL Param)}}
{{: Overlay (TQL Param)}}
{{: Timeframe (TQL Param)}}
{{: Timeframe (TQL Param)}}
}}
}}


===Item===
===Item===
These parameter can be used to consider only a specific [[Item]] of that kind.
These parameters filter for specific types of [[Item]]s.
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{: Address (TQL Param)}}
{{: Address (TQL Param)}}
{{: Area (TQL Param)}}
{{: Area (TQL Param)}}
{{: Building (TQL Param)}}
{{: Building (TQL Param)}}
{{: Building with attribute (TQL Param)}}
{{: Function (TQL Param)}}
{{: Function (TQL Param)}}
{{: Global (TQL Param)}}
{{: Global (TQL Param)}}
Line 69: Line 70:


===Net===
===Net===
These parameter are specific to [[Network]] related [[Item]]s. Some can also be used to limit the selected [[Building]]s.
These parameters are specific to [[Network]] related [[Item]]s. Some can also be used to limit the selected [[Building]]s.
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{: Net line (TQL Param)}}
{{: Net line (TQL Param)}}
Line 79: Line 80:


===Property===
===Property===
These parameters are mostly related to [[Building]] properties to filter on, but also include properties related to and shared with other items, such as [[Stakeholder]]s.
These parameters primarily filter [[Building]] properties, though some apply to other items like [[Stakeholder]]s.
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{Param TQL|suppresscategory=true|allowselflinks=true|
{{: Category (TQL Param)}}
{{: Category (TQL Param)}}
{{: Categorymult (TQL Param)}}
{{: Categorymult (TQL Param)}}
{{: Crs (TQL Param)}}
{{: Functionmult (TQL Param)}}
{{: Functionmult (TQL Param)}}
{{: Iteration (TQL Param)}}
{{: Iteration (TQL Param)}}
{{: Key (TQL Param)}}
{{: Layertype (TQL Param)}}
{{: Layertype (TQL Param)}}
{{: Map (TQL Param)}}
{{: Map (TQL Param)}}
Line 95: Line 98:
}}
}}


{{article end
|api=* [[Api session query]]
}}
{{TQL param nav}}
{{TQL param nav}}

Latest revision as of 11:17, 15 July 2026

A TQL query statement consists of a command, either Select or Update, and a list of clauses. The clauses provide further specification of the query statement, or a refinement, spatially or property wise.

A clause consists of a clause parameter and a clause value, where currently the only supported operator between the parameter and value is IS.

Spatial

These parameters can be used to limit the search polygon that is used to query Buildings.

Attribute

These parameters are related to Attributes.

Grid

These parameters are specifically related to grids.

Item

These parameters filter for specific types of Items.

Net

These parameters are specific to Network related Items. Some can also be used to limit the selected Buildings.

Property

These parameters primarily filter Building properties, though some apply to other items like Stakeholders.

API Endpoints