Skip to content
Snippets Groups Projects
Commit f6bc5ccd authored by Simon Belak's avatar Simon Belak
Browse files

Don't use alias for having

parent 8a7fb448
Branches
Tags
No related merge requests found
......@@ -878,7 +878,7 @@
[:or [:not= :special_type "type/PK"]
[:= :special_type nil]]]
:group-by [:table_id]
:having [:= :count 1]}))
:having [:= :%count.* 1]}))
(into #{} (map :table_id)))
link-table? (->> (db/query {:select [:table_id [:%count.* "count"]]
:from [:metabase_field]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment