mirror of
https://github.com/FlipsideCrypto/fsc-utils.git
synced 2026-02-06 10:56:49 +00:00
test
This commit is contained in:
parent
f631dd4f78
commit
0b1b45d0a3
@ -98,3 +98,21 @@ WHERE
|
||||
{% endif %}
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
{% macro current_hour_test() %}
|
||||
|
||||
{% set current_hour = run_query("SELECT EXTRACT(HOUR FROM SYSDATE())::INTEGER") %}
|
||||
|
||||
SELECT {{ current_hour }} as debug_current_hour;
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
{% macro current_hour_test2() %}
|
||||
|
||||
{% set result = run_query("SELECT EXTRACT(HOUR FROM SYSDATE())::INTEGER as hour") %}
|
||||
{% set current_hour = result.columns[0].values()[0] %}
|
||||
|
||||
SELECT {{ current_hour }} as debug_current_hour2;
|
||||
|
||||
{% endmacro %}
|
||||
Loading…
Reference in New Issue
Block a user