mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 16:06:48 +00:00
run_query (#496)
This commit is contained in:
parent
27e3414619
commit
211547b74b
@ -24,7 +24,7 @@ WHERE
|
||||
) {% endset %}
|
||||
{% set min_block_timestamp_hour = run_query(query).columns [0].values() [0] %}
|
||||
{% if min_block_timestamp_hour is none %}
|
||||
{% set min_block_timestamp_hour = "DATE_TRUNC('hour', CURRENT_TIMESTAMP - INTERVAL '3 days')" %}
|
||||
{% set min_block_timestamp_hour = run_query("SELECT DATE_TRUNC('hour', CURRENT_TIMESTAMP - INTERVAL '3 days')").columns[0].values()[0] %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user