-
Notifications
You must be signed in to change notification settings - Fork 9
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
Creating tables with autoincrement id #6
Comments
I don't have much time to add new features for this repo, but you can fork it and add features yourself, and send a pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I find this method useful for creating routing tables for many-to-many relations
Perhaps some else would found it useful
/**
* For autoincrement key
*
* @param table
*/
public VTableCreation(String table) {
this.table = table;
columns = new ArrayList();
indices = new HashSet();
sb = new StringBuilder();
sb.append("CREATE TABLE IF NOT EXISTS ").append(table).append(" (_id INTEGER PRIMARY KEY");
}
The text was updated successfully, but these errors were encountered: