Current Behavior
Pre-prepared statements return nothing
Expected Behavior
Pre-prepared statements return the insert data
Steps to Reproduce the Problem
console.log(await database.sql("INSERT INTO agents (email) VALUES ('test')"))
// { lastID: 9, changes: 1, totalChanges: 1, finalized: 1 }
const statement = database.prepare("INSERT INTO agents (email) VALUES ('test2')")
statement.run((err, res) => console.log(res))
// undefined
Environment
- Version: 0.0.56
- Platform: Win
- Node.js Version: v20.12.2
Current Behavior
Pre-prepared statements return nothing
Expected Behavior
Pre-prepared statements return the insert data
Steps to Reproduce the Problem
Environment