ChaloVega
DTDrizzle Team
•Created by charlesbcraig on 8/25/2023 in #help
InferSelectModel vs. InferInsertModel
i just found this https://github.com/drizzle-team/drizzle-orm/issues/663. I was able to solve my problem by changing smallserial to serial
7 replies
DTDrizzle Team
•Created by charlesbcraig on 8/25/2023 in #help
InferSelectModel vs. InferInsertModel
it's not, it's just
number
7 replies
DTDrizzle Team
•Created by charlesbcraig on 8/25/2023 in #help
InferSelectModel vs. InferInsertModel
hello, i'm new here and i have a question about this. My column is
id: smallserial("id").primaryKey()
but when i use $inferInsert, i do have the id field, which of course i don't have when inserting. I'm i missing something in my table definition?7 replies