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

Add header to query builder #75

Merged
merged 2 commits into from
Oct 30, 2021
Merged

Add header to query builder #75

merged 2 commits into from
Oct 30, 2021

Conversation

J0
Copy link
Collaborator

@J0 J0 commented Oct 30, 2021

Context:

The current monkey-patched query builder does not return rows from the query instead returning an empty string. This is because postgREST only returns the response when the header Prefer: return=representation is included. We have introduced this header as a default

Fix #22

@J0 J0 merged commit e6e9cc2 into develop Oct 30, 2021
@J0 J0 deleted the j0_patch_query_request_headers branch October 30, 2021 21:10
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.

delete execute throws error on query_builder.py _execute_monkey_patch
2 participants