SIGN IN SIGN UP

bugfix: streamline and fix AnyQueryResult::last_insert_id() for SQLite (#4205)

* fix: make MySqlQueryResult -> AnyQueryResult conversion more consistent & robust

- replaced custom map_result function with From<T> implementation

* fix: unify PgQueryResult -> AnyQueryResult conversion code path

- replaced custom map_result function with From<T> implementation

* fix: make SqliteQueryResult -> AnyQueryResult conversion respect last_insert_rowid

- replaced custom map_result function with From<T> implementation
- fixed bug causing AnyQueryResult.last_insert_id to always be None for Sqlite backend

* test(sqlite): add any_sets_last_insert_id

- added test
- updated required-features

* test(mysql): add any_sets_last_insert_id

- added test
- updated required-features

* test(postgres): add any_sets_last_insert_id

- added test
- updated required-features

* fix(tests): use different syntax to address compiler errors

* fix(test/postgres): slightly change bind syntax as required for this backend
M
Michael Guschlbauer committed
ebc408a488b8852610575681539975521309b735
Parent: 531030b
Committed by GitHub <noreply@github.com> on 8/19/2026, 6:54:31 PM