-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels