Skip to content

Commit

Permalink
#257 Add count to expect_compound_columns_to_be_unique (#261)
Browse files Browse the repository at this point in the history
* #257 Add count to expect_compound_columns_to_be_unique

* move comma to end of line
  • Loading branch information
VDFaller committed May 24, 2023
1 parent b28ee9b commit 6700bbc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ with validation_errors as (

select
{% for column in columns -%}
{{ column }}{% if not loop.last %},{% endif %}
{{ column }},
{%- endfor %}
count(*) as {{adapter.quote("n_records")}}
from {{ model }}
where
1=1
Expand Down

0 comments on commit 6700bbc

Please sign in to comment.