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

[MySQL Handler] Support upsert mutation #4002

Open
ryoheinagao opened this issue Jun 2, 2022 · 3 comments
Open

[MySQL Handler] Support upsert mutation #4002

ryoheinagao opened this issue Jun 2, 2022 · 3 comments

Comments

@ryoheinagao
Copy link

ryoheinagao commented Jun 2, 2022

Is your feature request related to a problem? Please describe.

I want to use GraphQL Mesh and MySQL like Hasura + PostgreSQL. When I want to upsert row data, I have to exec multiple mutation or combine select query.

Describe the solution you'd like

In GraphQL Mesh, you use mysql-utilities which has sdk for upsert SQL. So I suggest how about support upsert like other mutations and queries.

Describe alternatives you've considered

Alternative method is multiple calls from client-side or implement self made handlers.

@ardatan
Copy link
Owner

ardatan commented Jun 5, 2022

Would you create a PR for this change?

@ryoheinagao
Copy link
Author

Thank you for your comment, I will try it.

@ryoheinagao
Copy link
Author

Hi, I found a bug in mysql-utilities, so I will create a PR after tshemsedinov/node-mysql-utilities#64 merged.

@theguild-bot theguild-bot mentioned this issue Aug 11, 2022
@theguild-bot theguild-bot mentioned this issue Sep 28, 2023
This was referenced Apr 30, 2024
This was referenced May 7, 2024
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

No branches or pull requests

2 participants