Skip to content
Snippets Groups Projects
Commit f1d626e3 authored by Cam Saul's avatar Cam Saul
Browse files

test fix

parent a1e208b2
Branches
Tags
No related merge requests found
......@@ -6,9 +6,9 @@
[{:keys [db table name]}]
(-> ((:native-query @db)
(format "SELECT COUNT(\"%s\".\"%s\") AS count FROM \"%s\""
(:name (table))
(:name @table)
name
(:name (table))))
(:name @table)))
first
:count))
......@@ -16,8 +16,8 @@
[{:keys [db table name]}]
(-> ((:native-query @db)
(format "SELECT COUNT(DISTINCT \"%s\".\"%s\") AS count FROM \"%s\""
(:name (table))
(:name @table)
name
(:name (table))))
(:name @table)))
first
:count))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment