This commit is contained in:
Pablo Martin 2024-06-14 14:18:09 +02:00
parent bf97a947ed
commit 3a66358338

View file

@ -0,0 +1,6 @@
{% test not_negative_or_zero(model, column_name) %}
with validation as (select {{ column_name }} as value from {{ model }})
select *
from validation
where value <= 0
{% endtest %}