Open Bug 930408 Opened 11 years ago Updated 2 years ago

Remove affectedRows and lastInsertRowID from Sqlite.jsm documentation

Categories

(Toolkit :: Storage, defect, P3)

defect

Tracking

()

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
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.
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.
Keywords: dev-doc-needed
Summary: Implement affectedRows and lastInsertRowID for Sqlite.jsm → Remove affectedRows and lastInsertRowID from Sqlite.jsm documentation
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.