We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Get the following error when using order
QueryParams are immutable since 0.18.0. Use q = q.set(key, value) to create an updated copy.
q = q.set(key, value)
Ex: data = supabase.table('TABLE_NAME').select('*').order("id")
data = supabase.table('TABLE_NAME').select('*').order("id")
Possible Fix (below): Update order function in class SelectRequestBuilder in request_builder.py
def order(self, column: str, *, desc=False, nullsfirst=False): self.session.params = self.session.params.add("order", f"{column}{'.desc' if desc else ''}{'.nullsfirst' if nullsfirst else ''}") return self
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Get the following error when using order
Ex:
data = supabase.table('TABLE_NAME').select('*').order("id")
Possible Fix (below): Update order function in class SelectRequestBuilder in request_builder.py
The text was updated successfully, but these errors were encountered: