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

Merge branch 'limit_max_result_rows' of github.com:metabase/metabase-init into...

Merge branch 'limit_max_result_rows' of github.com:metabase/metabase-init into limit_max_result_rows
parents 44c63335 eb223645
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@
(defn limit-max-result-rows
"Limit the number of rows returned in RESULTS to `max-result-rows`.
(We want to do this here so we can put a hard limit on native SQL results and other ones where we couldn't add an implicit `:limit` clause)."
(We want to do this here so we can put a hard limit on native SQL results and other ones where we couldn't add an implicit `:limit` clause)."
[results]
{:pre [(map? results)
(sequential? (:rows results))]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment