Skip to content

Use LimitExpr instead of QueryExpr for limit#4

Open
hiro1107 wants to merge 4 commits intoplausible:masterfrom
tsundek-com:master
Open

Use LimitExpr instead of QueryExpr for limit#4
hiro1107 wants to merge 4 commits intoplausible:masterfrom
tsundek-com:master

Conversation

@hiro1107
Copy link

Six months ago, Ecto added LimitExpr module and now clickhouse_ecto's limit function returns match error.
(FunctionClauseError) no function clause matching in ClickhouseEcto.QueryString.limit/2

I replaced QueryExpr with LimitExpr to avoid the error.

https://github.com/elixir-ecto/ecto/blob/master/lib/ecto/query.ex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant