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

Added a bulk insert method using transaction #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shusshu
Copy link
Contributor

@Shusshu Shusshu commented Jan 30, 2014

No description provided.

@Shusshu
Copy link
Contributor Author

Shusshu commented Feb 28, 2014

Any plan to include this soon?

@TimotheeJeannin
Copy link
Owner

This is probably a good fit for ProviGen.
See #28, I would like to discuss overall project organisation first.

public int bulkInsert(Uri uri, ContentValues[] values){
int numInserted = 0;

ContractHolder contractHolder = contracts.findMatching(uri);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Provigen 2.0.0.
This line and the next one can be replaced by
String table = uri.getPathSegments().get(0);

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

Successfully merging this pull request may close these issues.

2 participants