Select color (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 31: Line 31:
|notes=
|notes=
* [[Function (TQL Param)]] and [[Building (TQL Param)]] return the color of their first [[Category]].
* [[Function (TQL Param)]] and [[Building (TQL Param)]] return the color of their first [[Category]].
|api=* [[Api session query]]
}}
}}
{{TQL nav}}
{{TQL nav}}

Latest revision as of 12:32, 6 July 2026

Allowed clause parameters

Examples

  • SELECT_COLOR_WHERE_AREA_IS_5
Returns the HEX Color of the COLOR Attribute of the Area with Item ID 5.
  • SELECT_COLOR_WHERE_STAKEHOLDER_IS_3
Returns the HEX Color of the color parameter of the Stakeholder with Item ID 3.
  • SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY
Returns the HEX Color of the default color of the Stakeholder Type MUNICIPALITY.

Notes

API Endpoints