Select color (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
==Examples==
==Examples==
* <code>SELECT_COLOR_WHERE_AREA_IS_5</code>
* <code>SELECT_COLOR_WHERE_AREA_IS_5</code>
::''Returns the [[Color#HEX_format|HEX Color]] of the COLOR [[Attribute]] of the [[Area]] with Item ID 5.''
:: ''Returns the [[Color#HEX_format|HEX Color]] of the COLOR [[Attribute]] of the [[Area]] with Item ID 5.''
* <code>SELECT_COLOR_WHERE_STAKEHOLDER_IS_3/code>
* <code>SELECT_COLOR_WHERE_STAKEHOLDER_IS_3/code>
::''Returns the [[Color#HEX_format|HEX Color]] of the color parameter of the [[Stakeholder]] with Item ID 3.''
:: ''Returns the [[Color#HEX_format|HEX Color]] of the color parameter of the [[Stakeholder]] with Item ID 3.''
* <code>SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY/code>
* <code>SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY/code>
::''Returns the [[Color#HEX_format|HEX Color]] of the default color of the Stakeholder Type MUNICIPALITY.''
:: ''Returns the [[Color#HEX_format|HEX Color]] of the default color of the Stakeholder Type MUNICIPALITY.''
 
{{article end
{{article end
|notes=
|notes=

Revision as of 17:49, 17 February 2023

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/code>
Returns the HEX Color of the color parameter of the Stakeholder with Item ID 3.
  • SELECT_COLOR_WHERE_STAKEHOLDERTYPE_IS_MUNICIPALITY/code>
Returns the HEX Color of the default color of the Stakeholder Type MUNICIPALITY.

Notes