Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use both gte and lte queries on a single field. #13

Open
yiezh opened this issue May 30, 2024 · 2 comments
Open

Unable to use both gte and lte queries on a single field. #13

yiezh opened this issue May 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@yiezh
Copy link

yiezh commented May 30, 2024

client.From("table").Select("*", "exact", false).Gte("created_at", start).Lte("created_at", end)

use this query, Lte("created_at", end) will override Gte("created_at", start), because Get and Lte do same thing: f.params["created_at"]=something.

In javascript, use gte and lte, is append value: this.url.searchParams.append(column, gte.${value}), this.url.searchParams.append(column, lte.${value}).

@TomEngelmann
Copy link

Have the same issue. Is there any solution yet?

@barponce
Copy link

barponce commented Sep 28, 2024

Same issue here, any solution yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants