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

OptionalPut Operation #156

Open
dmfs opened this issue Feb 8, 2018 · 0 comments
Open

OptionalPut Operation #156

dmfs opened this issue Feb 8, 2018 · 0 comments

Comments

@dmfs
Copy link
Owner

dmfs commented Feb 8, 2018

In order to declare optional updates/inserts, as a developer I want an OptionalPut<T> which takes an Optional<RowData<T>>.

The Idea is to only execute the operation if the passed RowData is present. There is one problem with this approach though, an Operation must return a valid ContentProviderOperation.Builder and an insert operation will always result in a new row (unless it throws).

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

1 participant