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

Combined primary key,How to do? #2088

Closed
yuwu opened this issue Jan 15, 2016 · 3 comments
Closed

Combined primary key,How to do? #2088

yuwu opened this issue Jan 15, 2016 · 3 comments

Comments

@yuwu
Copy link

yuwu commented Jan 15, 2016

Combined primary key,How to do?

@beeender
Copy link
Contributor

We don't support it right now, to see the progress of this issue #1129

But one workaround is you can use a String field as the PrimaryKey and combine multi keys together into a string.

@cmelchior
Copy link
Contributor

Closing this issue as it is an duplicate of #1129. Follow #1129 for updates on this issue.

@vipulpurohit
Copy link

How can I combine multi keys if my object is creating through webservice?
Gson creating realm object automatically.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants