mirror of
https://github.com/FlipsideCrypto/external-models.git
synced 2026-02-06 18:46:45 +00:00
12 lines
329 B
SQL
12 lines
329 B
SQL
-- macros/print_query_results.sql
|
|
|
|
{% macro execute_and_print_query() %}
|
|
{% set results = run_query("select distinct(model) from bronze.defillama_historical_backfill_list") %}
|
|
|
|
{% if execute %}
|
|
{% for row in results %}
|
|
{{ log(row, info=True) }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endmacro %}
|