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
The $returningId will return the correct ids of the actual inserts, but will return a wrong id (I believe it is the row index in the table of the updated row, rather than its primary key) of the ones it handles with
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.38.3
What version of
drizzle-kit
are you using?0.30.1
Other packages
No response
Describe the Bug
If i do the following:
The $returningId will return the correct ids of the actual inserts, but will return a wrong id (I believe it is the row index in the table of the updated row, rather than its primary key) of the ones it handles with
This is the phones schema:
This can be easily tested following like this:
By comparing the same query executed twice, i get the following results:
The text was updated successfully, but these errors were encountered: