Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (async () => {
- const db = await SQLite.openDatabase({ name: 'typeorm.db', location: 'default' });
- try {
- const a = Reactotron!.benchmark!('raw start');
- const [res] = await db.executeSql(sql);
- a.stop('raw end');
- Reactotron.warn([res.rows.length, res.rows.item(0)]);
- } catch (e) {
- console.error(e);
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement