100 per page

This commit is contained in:
Bryce Covert
2018-12-15 10:17:47 -08:00
parent b108f81a75
commit ea8a0bc2e0
4 changed files with 4 additions and 5 deletions

View File

@@ -42,7 +42,6 @@
[:= :exist.vendor-id nil]
[:= :v.vendor-id nil]]]]]
:where [:= :exist.id nil] }]})
statement (j/prepare-statement
(j/get-connection (get-conn))
query
@@ -150,7 +149,7 @@
(not (nil? status)) (helpers/merge-where [:= :status status])
(not (nil? company-id)) (helpers/merge-where [:= :company-id company-id])))
(defn get-graphql [{:keys [start sort-by asc limit] :as args :or {limit 20}}]
(defn get-graphql [{:keys [start sort-by asc limit] :as args :or {limit 100}}]
(query
(cond-> (base-graphql args)