Is there any way to do partial update? #589
prateekgoel
started this conversation in
General
Replies: 1 comment 1 reply
-
No, currently there isn't. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need to update the data in database partially.
I am receiving updated fields of an entity from backend.
If i call update on entity using that data, rest of the fields will become null, so I cannot do that.
I do no want to write a @query for update bcz the number of fields are more and are dynamic (comes from server).
So, is there any way I can update the data partially? (update only the columns that i pass in arguments and keep the rest to the existing values)
Android Room does have that feature, but I couldn't find anything in floor.
@vitusortner @mqus
Beta Was this translation helpful? Give feedback.
All reactions