This question is locked. New answers and comments are not allowed.
I'm trying to build an object with multiple sqlite result sets, something along the lines of
table1 = result of ("SELECT * FROM table1");
table2 = result of ("SELECT * FROM table2");
table3 = result of ("SELECT * FROM table3");
table4 = result of ("SELECT * FROM table4");
var obj = {
'table1': table1,
'table2': table2,
'table3': table3,
'table4': table4,
};
This seems like such a simple task yet can't find any examples of it anywhere. Everything is always one query at a time then calling a callback function to handle the single set of results.
Any help much appreciated.
table1 = result of ("SELECT * FROM table1");
table2 = result of ("SELECT * FROM table2");
table3 = result of ("SELECT * FROM table3");
table4 = result of ("SELECT * FROM table4");
var obj = {
'table1': table1,
'table2': table2,
'table3': table3,
'table4': table4,
};
This seems like such a simple task yet can't find any examples of it anywhere. Everything is always one query at a time then calling a callback function to handle the single set of results.
Any help much appreciated.