You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Statement.reader property for better-sqlite3 compatibility
Returns true if the statement returns data (has columns), false otherwise.
This allows checking whether a prepared statement is a reader (SELECT, or
INSERT/UPDATE/DELETE with RETURNING) before execution.
Returns the columns in the result set returned by this prepared statement.
181
181
182
+
### reader ⇒ boolean
183
+
184
+
Returns `true` if the statement returns data (i.e., it is a `SELECT` statement or an `INSERT`/`UPDATE`/`DELETE` with a `RETURNING` clause), `false` otherwise.
0 commit comments