Open
Bug 930408
Opened 10 years ago
Updated 1 year ago
Remove affectedRows and lastInsertRowID from Sqlite.jsm documentation
Categories
(Toolkit :: Storage, defect, P3)
Toolkit
Storage
Tracking
()
NEW
People
(Reporter: darktrojan, Unassigned)
Details
(Keywords: dev-doc-needed)
These properties are listed on the MDN page[1], possibly by mistake, or maybe they did once exist, but they don't exist now. It would be useful to have them. [1] https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Sqlite.jsm
Comment 1•10 years ago
|
||
There is some context in bug 813833 on why these aren't implemented. Mainly, these APIs and async programming don't go well together. They are traps users can fall into very easily. I'll update the docs.
Comment 2•10 years ago
|
||
I think now it's even worse than just traps, Sqlite added support for WITHOUT ROWID, for these tables lastInsertRowid doesn't make any sense.
Updated•10 years ago
|
Keywords: dev-doc-needed
Summary: Implement affectedRows and lastInsertRowID for Sqlite.jsm → Remove affectedRows and lastInsertRowID from Sqlite.jsm documentation
Updated•7 years ago
|
Priority: -- → P3
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•