-
Notifications
You must be signed in to change notification settings - Fork 2.8k
do not update all rows of a table on upsert when action is update (fix #342) #344
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
Conversation
@0x777 In this case if I provide multiple objects with a different schema then there's a query error per Rakesh. Is that ok for now? |
Review app available at: https://hge-ci-pull-344.herokuapp.com |
Review app available at: https://hge-ci-pull-344.herokuapp.com |
Review app available at: https://hge-ci-pull-344.herokuapp.com |
(Just cols, _) -> RI.CCUpdate constraint cols | ||
(Nothing, Just CAIgnore) -> RI.CCDoNothing $ Just constraint | ||
(Nothing, Just CAUpdate) -> RI.CCUpdate constraint inpCols | ||
(Nothing, Nothing) -> RI.CCDoNothing $ Just constraint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should also be same as the previous case, when update_columns
is missing, we take it that they want to update the specified columns
Review app available at: https://hge-ci-pull-344.herokuapp.com |
Review app https://hge-ci-pull-344.herokuapp.com is deleted |
update cli reference doc, microservices doc, close hasura#344
* Stop shutdown handler retaining the whole serveCtx This might look like quite a strange way to write the function but it's the only way I could get GHC to not capture `serveCtx` in the shutdown handler. Fixes the metadata issue in #344 * Force argumentNames The arguments list is often empty so we end up with a lot of duplicate thunks if this value is not forced. * Increase sharing in nullableType and nonNullableType The previous definitions would lead to increased allocation as it would destory any previously created sharing. The new definition only allocate a fresh constructor if the value is changed. * Add memoization for field parsers It was observed in #344 that many parsers were not being memoised which led to an increase in memory usage. This patch generalisation memoisation so that it works for FieldParsers as well as normal Parsers. There can still be substantial improvement made by also memoising InputFieldParsers but that is left for future work. Co-authored-by: Antoine Leblanc <antoine@hasura.io> * [automated] stylish-haskell commit * changelog Co-authored-by: Phil Freeman <paf31@cantab.net> Co-authored-by: Antoine Leblanc <antoine@hasura.io> Co-authored-by: Stylish Haskell Bot <stylish-haskell@users.noreply.github.com> Co-authored-by: Phil Freeman <phil@hasura.io> GitOrigin-RevId: 36255f7
V3_GIT_ORIGIN_REV_ID: 279110b4bb1605baa36a2770e5ec0d1530944ed5
No description provided.