Skip to content

Return all ContentValues from relation #416

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

Closed
sgrekov opened this issue Jun 1, 2017 · 2 comments
Closed

Return all ContentValues from relation #416

sgrekov opened this issue Jun 1, 2017 · 2 comments

Comments

@sgrekov
Copy link

sgrekov commented Jun 1, 2017

It would be useful to have generated method in _Relation, which will return all content values for particular model, like it made in upsertWithoutTransaction method,
something like
public abstract ContentValues allValues(@nonnull final Model model);

It will be useful when we manually check for local value and depending on result, call insert or update.

@gfx gfx added the enhancement label Jun 1, 2017
@gfx
Copy link
Member

gfx commented Jun 1, 2017

Seems good. Will try it in the next version.

@sgrekov
Copy link
Author

sgrekov commented Jun 1, 2017

Thanks! Looking forward to this improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants