Highlight SQL string using DuckDB tokens from tokenize_sql()
This function takes the SQL string and pre-fetched tokens from DuckDB's tokenize_sql() function and applies ANSI color codes.
The SQL string to highlight
Array of tokens from DuckDB's tokenize_sql()
The SQL string with ANSI color codes applied
Highlight SQL string using DuckDB tokens from tokenize_sql()
This function takes the SQL string and pre-fetched tokens from DuckDB's tokenize_sql() function and applies ANSI color codes.