python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

SimpleSQL additions #132

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Request 2 new methods for SimpleSQL

1.  void database.Reset() {
//This method gives you a fresh database with the same tables and structures.  
Basically just clears all the rows in the gables
}

2.  int database.TableCount() {
//Returns the number of tables in the database
}

Original issue reported on code.google.com by bric...@gmail.com on 21 Apr 2013 at 5:32

GoogleCodeExporter commented 8 years ago
1. Funny you should mention this, I just added the ClearDB(DBBuilder) method. 
It will delete the database, and rebuild it with the specified DBBuilder class.

#2 can be achieved by running db.getBuilder().TableCount()

Original comment by IMPINC...@gmail.com on 27 Apr 2013 at 6:18

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 28 Apr 2013 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 30 May 2013 at 12:07