I want get code as follow:
String query = "CREATE TABLE "
+ TABLE_NAME + " ("
+ COLUMN_NAME1 + " column_type," //where column_type is one of SQLite data type
+ COLUMN_NAME2 + " column_type,"
+ ... + ");";
TABLE_NAME is declared as static field through LOOP macro. COLUMN_NAME is declared as static field through double LOOP macro.
I created follow generator's template:
I don't know how can I insert code with columns names and types in the expression. I try to use LOOP macro, but it does not work. Tell me, please, how can I do it.