title: Get the actual array of rows from SQL query with sqlite and Expo
body: <p>I am trying to get the whole result as array of rows from sqlite query results object:</p>
  
  <p>I have tried <code>results.rows.item(i).id</code> and it work just fine but I need to get the whole array of rows instead of only one item, i tried to use <code>rows.array (_number)</code> from Expo documentation but I can't figure out how actually to use <code>.array(_number)</code></p>
  
  <p>my code snippet:</p>
  
  <pre><code>iris.transaction(tx =&gt; {
      tx.executeSql(
          `select id, date from days`,
          [],
          (tx, results) =&gt; {
              for(i=0; i&lt;results.rows.length; i++){
                  var date = results.rows.item(i).date.split('-');
              }
          }
      )
  });
  </code></pre>