Skip to content

Conversation

@rikinsk
Copy link
Member

@rikinsk rikinsk commented Feb 7, 2020

@dariocravero
Copy link
Contributor

Excited to see this being worked on! Can you expand on how would link and unlink work?

@rikinsk
Copy link
Member Author

rikinsk commented Feb 13, 2020

@dariocravero I have updated the RFC with some more details. Let me know if you think there should be some more information.

@dohomi
Copy link

dohomi commented Feb 14, 2020

@rikinsk is this PR also covering m:n related nested updates?

@dariocravero
Copy link
Contributor

Gotcha! Thanks @rikinsk!

@patcito
Copy link
Contributor

patcito commented Feb 17, 2020

#669 was the first related issue, may want to add it to the description :)

@netlify
Copy link

netlify bot commented Feb 18, 2020

Deploy preview for hasura-docs ready!

Built with commit f1c3c90

https://deploy-preview-3852--hasura-docs.netlify.com

@almassapargali
Copy link

@rikinsk looking at the RFC, looks like you have only one _relationships per mutation, is that correct? So you can’t update multiple authors with different addresses?

Current proposed API would cover most of the use cases though. Would love to see any progress in this area.

@rikinsk
Copy link
Member Author

rikinsk commented Mar 2, 2020

@almassapargali That is true. All the authors that would be updated are selected via the where clause and the "update" performed on all of them will be the same ie. same address update

@weyert
Copy link

weyert commented Apr 11, 2020

Excited to see that this functionality is in the works. Looking forward to experiment with it :)

@csadai
Copy link

csadai commented Jun 21, 2020

Is this still in the works?

@rikinsk rikinsk added c/server Related to server k/rfc RFC for a new feature / process labels Jun 23, 2020
@marcfalk
Copy link

Looking forward to this feature! ✌️

@ghyath5
Copy link

ghyath5 commented Jul 25, 2020

We really need this feature !!

@semyou
Copy link

semyou commented Jul 29, 2020

Dear all, what is the status on this feature? When can we expect it to be live?

@smblee
Copy link

smblee commented Sep 26, 2020

Bumping this issue again :) This would be an awesome feature!

@alradadi
Copy link

I've been checking this issue every other day hoping to see some movement. Will this land any time soon?

@rocketraman
Copy link

The RFC, if I am reading it correctly, treats an upsert as an insert, and does nothing extra.

I have a situation in which I am doing an upsert, and have a nested array relationship. When my upsert is updating an existing row, I would like to replace any existing nested relationships with the new relationships I am specifying in the upsert.

Can this scenario be included?

@gsaidy
Copy link

gsaidy commented Feb 21, 2021

Another bump. Is there any update about this?

@BenoitRanque
Copy link
Contributor

Any chance this gets merged before 2.0 exits the alpha stage?

@valstu
Copy link

valstu commented May 26, 2021

Any chance this gets merged before 2.0 exits the alpha stage?

@BenoitRanque I don't think this has even gone to development yet since the RFC is still open

@seanonthenet
Copy link

I've been doing tests in the last few hours and have seen that one-to-one relationship inserts with the foreign key on the "child" table are now working on cloud. I can't find any other info about this pushed to production besides this: #6918

@edmbn
Copy link

edmbn commented Jul 6, 2021

I've been doing tests in the last few hours and have seen that one-to-one relationship inserts with the foreign key on the "child" table are now working on cloud. I can't find any other info about this pushed to production besides this: #6918

Insert works fine. What they are talking here is for updates, which isn't possible yet.

@haf
Copy link

haf commented Aug 13, 2021

Could someone enlighten of how this RFC pertains to pre-filled columns from session variables, that need joining with a relation? E.g. insert user setting, given session variable auth0 user id, should prefill user_id in settings, to the session id -> users.{idp_id => id }.

@jdgamble555
Copy link

Anyone looking at this?

@aatauil
Copy link

aatauil commented Feb 24, 2022

commenting just to keep this RFC alive. Much valued feature imo

@dnishiyama
Copy link

Another bump because I'd love to see this feature!

@rille111
Copy link

Any updates on this one? Been a couple of years and highly desired feature. Thanks to the team for a splendid Hasura!

@rohitnick
Copy link

Bumping this up! would love to use this feature instead of a workaround.

@octadimarco
Copy link

Looking forward to this feature! thanks to Hasura team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server k/rfc RFC for a new feature / process

Projects

None yet

Development

Successfully merging this pull request may close these issues.