cannot insert into column "id"
i get this error when i try to insert more than one value into my postgres
can anyone help me?
8 Replies
Code seems right to me. Are you on an old version perhaps?
GitHub
[BUG]: Error thrown when trying to insert an array of new rows usin...
What version of drizzle-orm are you using? 0.33.0 What version of drizzle-kit are you using? 0.24.0 Describe the Bug I have a simple schema file: import { pgTable, integer, text } from "drizzl...
im using: "drizzle-orm": "^0.40.0" and "drizzle-kit": "^0.30.5",
i really cant explain why it wont work
Super weird. It sounds similar to that issue, so maybe a regression? I can't see anything obviously wrong
:sad:
i even copied the code from one of their tests:
https://github.com/drizzle-team/drizzle-orm/pull/2938/commits/c3b7150efa35319fafafc4f907a27a272ae45d28
GitHub
Batch of bugfixes for the ORM by L-Mario564 · Pull Request #2938 · ...
Addresses #2146, #2272, #2849, #2603.
limit and offset now accepts placeholders as values in MySQL. Added appropriate tests. (#2146).
Bugs described in #2272 and #2849 seem to no longer be present...
doesnt work either
but it works as soon as i only add one at a time
i also tried to downgrade the version to 0.36.1
Maybe make a minimal reproduction and create a new issue with it
Makes it a lot easier to test