We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First, I'd like to say great work.
I have a suggestion:
I think you should change the insert function from
id = db.insert(uriType.getTableName(), "foo", values);
to
id = db.replace(uriType.getTableName(), "foo", values);
This means, as a developer, you no longer need to query the table if the record exists or not to decide weather to do an update or an insert.
This works great with DataDroid bulk operations
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First, I'd like to say great work.
I have a suggestion:
I think you should change the insert function from
id = db.insert(uriType.getTableName(), "foo", values);
to
id = db.replace(uriType.getTableName(), "foo", values);
This means, as a developer, you no longer need to query the table if the record exists or not to decide weather to do an update or an insert.
This works great with DataDroid bulk operations
Thanks
The text was updated successfully, but these errors were encountered: