Select color (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 29: Line 29:


{{article end
{{article end
|seealso=*[[TQL_Examples#Color]]
|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]].

Latest revision as of 16:23, 25 November 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

See also

API Endpoints