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

support upsert for ents #1424

Closed
lolopinto opened this issue May 12, 2023 · 1 comment
Closed

support upsert for ents #1424

lolopinto opened this issue May 12, 2023 · 1 comment
Labels
action enhancement New feature or request

Comments

@lolopinto
Copy link
Owner

lolopinto commented May 12, 2023

maybe something like this

CreateFooAction.create(vc, {}).saveUpsertX(options)

provide options

  • do nothing
  • on conflict 1 or more fields, update with the following fields

we currently support for edges by default but not ents

@lolopinto lolopinto added enhancement New feature or request action labels May 12, 2023
@lolopinto
Copy link
Owner Author

beta API where update API can change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant