Message410396
On 11.01.2022 21:30, Erlend E. Aasland wrote:
>
>> I'd suggest to deprecate the cursor.lastrowid attribute and
>> instead point people to the much more useful [...]
>
> Yes, I think mentioning the RETURNING ROWID trick in the sqlite3 docs is a very nice improvement. Mentioning the last_insert_rowid SQL function is probably also worth consideration.
>
> I'm reluctant to deprecate cursor.lastrowid, though. ATM, I'm leaning towards just keeping the current behaviour.
Fair enough :-)
Perhaps just documenting that the value is not necessarily what
people may expect, when coming from other databases due to the
different semantics with SQLite, is enough.
--
Marc-Andre Lemburg
eGenix.com |
|
Date |
User |
Action |
Args |
2022-01-12 13:56:10 | lemburg | set | recipients:
+ lemburg, erlendaasland, felixxm |
2022-01-12 13:56:10 | lemburg | link | issue46249 messages |
2022-01-12 13:56:09 | lemburg | create | |
|