-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Open
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.sqliteIssues and PRs related to the SQLite subsystem.Issues and PRs related to the SQLite subsystem.
Description
Problem
Currently you need multiple lines and multiple js statements to declare a single SQLite statement. If the statement.set* functions return the statement you could chain 1 or more set* functions to declare the sql statement with 1 line of code which is more readable and easier to work with:
Proposal
// before
const q = db.prepare(sql);
q.setReturnArrays(true); // returns void, requires 2 js statements
// after
const q = db.prepare(sql).setReturnArrays(true); // returns sql statementMetadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.sqliteIssues and PRs related to the SQLite subsystem.Issues and PRs related to the SQLite subsystem.
Type
Projects
Status
Awaiting Triage