If I have a sqlite query that generates say 100 rows of data, how can I assign this to an array and iterate through it late?. I am aware of db:nrows, but I’m not sure how to use that later in my app after the query is over, since it seems that I need to loop through that as I execute the query. I want to save this output into an array and be able to iterate through it later in my app.
So, if I have a select query that brings back 100 rows, with columns ID, Name, Address, State, Zip then how do I assign it to an array and use it later in my app?
Thanks!