diff --git a/CHANGELOG.md b/CHANGELOG.md index c123e15..1556eff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * 2.0.next (gold) in progress * Address #332 by improving `:cross-join` documentation. + * Fix `fetch` helper. * 2.0.0-rc4 (for testing; 2021-07-17) * Fix #338 by adding `ONLY` to `:fetch`. diff --git a/src/honey/sql/helpers.cljc b/src/honey/sql/helpers.cljc index 486e76f..db76903 100644 --- a/src/honey/sql/helpers.cljc +++ b/src/honey/sql/helpers.cljc @@ -735,9 +735,9 @@ Produces: FETCH ? ONLY Parameters: 10" - {:arglists '([offset])} + {:arglists '([limit])} [& args] - (generic-1 :offset args)) + (generic-1 :fetch args)) (defn for "Accepts a lock strength, optionally followed by one or