Skip to content

Reason for not supporting things like update ... field=some_function() ... #3682

Answered by wolfgangwalther
gc-ft asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, PostgREST is not designed to "expose the full SQL language as REST", so our goal is not to make everything that is possible via SQL possible to do via the API. Instead our goal is to create well designed APIs. If something can't be nicely expressed at the API level, then it's unlikely to be done. This doesn't mean that your proposal it immediately out of scope, but it gives background to the "why didn't we feel the urge to do something about this, yet?" question.

Your first example is discussed in #465.

Now to the answer that you probably didn't want to hear: Nothing has been done about this, because nobody came up with a convincing concept and stepped up to implement it, ye…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gc-ft
Comment options

@wolfgangwalther
Comment options

@gc-ft
Comment options

Answer selected by gc-ft
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