Parameter | Type |
---|---|
value | string, formattedtext |
color | color |
Returns: formattedtext
Example
query:
SELECT WITH_COLOR("dave", COLOR("blue")) as name
results:
name |
---|
dave |
A data.world specific function for controlling the formatting of query results. Cells with WITH_COLOR specified will be displayed with the selected color in data.world query results. For any other uses (e.g. export to CSV or API access), the WITH_COLOR specification is ignored
Parameter | Type |
---|---|
value | string, formattedtext |
color | color |
query:
SELECT WITH_COLOR("dave", COLOR("blue")) as name
results:
name |
---|
dave |