Skip to content

How to combine vertical filtering and horizontal filtering ? #3521

Closed Answered by laurenceisla
Inrap asked this question in Q&A
Discussion options

You must be logged in to vote

The select query parameter is used for Vertical Filtering, when using the Prefer: return=representation header. In other words, select filters the returned row(s) after the update is done.

What you need is the columns query parameter, which takes only the keys specified from the payload sent with the PATCH request. See Specifying Columns in the docs, it works the same for Inserts and Updates. In your case, replace select with columns, like this:

http://.../t_fait?columns=alter&num=eq.${myvar}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@laurenceisla
Comment options

Answer selected by Inrap
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants