SQLite tutorials for openFL are almost nonexistent and I have an issue running a simple query. I am trying to return all records from a table but it only seems to be returning the 1st record out of 20:
model = new Model();
var q = "SELECT * FROM setting` ORDER BY id ASC";
var settings = model.dbQuery(q);
for(i in settings){
trace(i);
}
When I trace out the input I only get the first record in the table. I am coming from a PHP MySQL background. Any pointers are greatly appreciated!