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

How to update primaryKey id? #789

Open
cannap opened this issue Nov 30, 2022 · 1 comment
Open

How to update primaryKey id? #789

cannap opened this issue Nov 30, 2022 · 1 comment

Comments

@cannap
Copy link

cannap commented Nov 30, 2022

Hi, currently i have this case

  1. I create a new entity with a id which is created local
  2. now i send it to the server and the server gives me the real id back

but i when i try to update with data: {id: serverId} it does not update?

image

@vilyus
Copy link

vilyus commented Mar 13, 2024

It seems like you want to delete a record with the locally generated id and then insert a new record (retrieved from the API)

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