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
This is a follow-up of #6668 and #5973; there we got a fix for MySQL driver, but not for the Aurora Data API driver (which is based off the MySQL driver). The behavior described there still reproduces with this driver.
Expected Behavior
When bulk-inserting records, e.g. via repository.insert(), the InsertResult should contain all the inserted identifiers in the identifiers array.
Actual Behavior
Only the first identifier is retrieved and the (unnecessary) SELECT done after the INSERT is using the same ID repeated over.
Issue Description
This is a follow-up of #6668 and #5973; there we got a fix for MySQL driver, but not for the Aurora Data API driver (which is based off the MySQL driver). The behavior described there still reproduces with this driver.
Expected Behavior
When bulk-inserting records, e.g. via repository.insert(), the InsertResult should contain all the inserted identifiers in the
identifiers
array.Actual Behavior
Only the first identifier is retrieved and the (unnecessary) SELECT done after the INSERT is using the same ID repeated over.
Steps to Reproduce
See #5973, but with Aurora Data API driver.
My Environment
Relevant Database Driver(s)
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: