React native için sqlite sorguları

db.transaction((tx) => { tx.executeSql(‘SELECT * FROM pet’, [], (tx, results) => { let myList = []; if (results.rows.length > 0) { for (var i = 0; i < results.rows.length; i++) { var pet = results.rows.item(i); myList.push(pet.owner); } this.setState({myList: myList}); } }); tx.executeSql(‘SELECT * FROM pet WHERE owner=?’, [‘petowner’], (tx, results) => { var len =…Continue reading React native için sqlite sorguları