I am simply trying to console.log() rows that each have an automatically incremented integer as their primary key. What is the most efficient way to do this in Node.js? My database file, at least for now, consists of one table with a few rows that I need to access. I am very new to sqlite3 and have tried to log
db.run('SELECT * FROM "talon"')
which returns
Database { open: false, filename: 'bin/data.db', mode: 65542 }
Clearly I've not much of an idea what I'm doing, any help is much appreciated!