You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
What if I want to use the same ids used in my server ?
I create a Entity instance specifying my own id, then I save it, ORMDroid throws away my own id and replaces it by last_insert_rowid.
I'm stuck there.
I think I have to create a new field, like cloudId, and use this one when manipulating Entities... Is there any other work around ?
Thanks !
The text was updated successfully, but these errors were encountered:
Internally, the presence of a primary key is used to determine whether the object is transient, so there'd have to be another mechanism for that. Also, how would this work with database constraints? I'm open to taking a look into it though...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What if I want to use the same ids used in my server ?
I create a Entity instance specifying my own id, then I save it, ORMDroid throws away my own id and replaces it by last_insert_rowid.
I'm stuck there.
I think I have to create a new field, like cloudId, and use this one when manipulating Entities... Is there any other work around ?
Thanks !
The text was updated successfully, but these errors were encountered: