$returningId returning extra rows
Not sure if this is intended behaviour but with the
mysql2
driver in drizzle-orm
this:
Outputs
When I'd expect it to output
Any help is appreciated!1 Reply
It happens when there is a secondary unique id on the table, in my case I have a
publicId
field:
Using a workaround until this is fixed:
Usage: