With expo-sqlite it's not possible to execute few depending statements inside single transaction - db.transaction
does not work with async/promise and tx.executeSql just enqueues sql statement but does not execute it.
Database class has two methods - execute (to execute single statement without transaction) and transaction(cb) to execute few statements inside a transaction