mirror of
https://github.com/FlipsideCrypto/livequery-base.git
synced 2026-02-06 19:26:43 +00:00
* Allow nulls in udf_api Refactor macros/core/_live.yaml.sql and macros/core/live.yaml.sql options * Refactor macros/core/live.yaml.sql options and add null support in udf_api
17 lines
375 B
SQL
17 lines
375 B
SQL
{% macro config_core__live(schema="_live") %}
|
|
|
|
- name: {{ schema }}.udf_api
|
|
signature:
|
|
- [method, STRING]
|
|
- [url, STRING]
|
|
- [headers, OBJECT]
|
|
- [DATA, VARIANT]
|
|
- [user_id, STRING]
|
|
- [SECRET, STRING]
|
|
return_type: VARIANT
|
|
func_type: EXTERNAL
|
|
api_integration: '{{ var("API_INTEGRATION") }}'
|
|
options: |
|
|
NOT NULL
|
|
sql: udf_api
|
|
{% endmacro %} |