DT
Drizzle Team•16mo ago
Alvee

query about orm customization

can I custom code and add a custom property like
bigint("id").MyCustomMethod().primaryKey()
bigint("id").MyCustomMethod().primaryKey()
Is it possible or not possible from user side and needs to be create from the library it self?
7 Replies
Alvee
AlveeOP•16mo ago
@Andrew Sherman
Andrii Sherman
Andrii Sherman•16mo ago
it's not possible, but just wondering what do you want to add? Just an example
kangkang
kangkang•16mo ago
Why the type of typeof Schema.$inferInsert changed in drizzle-orm@0.32.0?
Andrii Sherman
Andrii Sherman•16mo ago
how it was changed?
kangkang
kangkang•16mo ago
No description
Andrii Sherman
Andrii Sherman•16mo ago
and what's wrong?
kangkang
kangkang•16mo ago
I upgraded to drrize-ormm@0.32.0 It seems that the optional fields have been removed And there was no problem after I downgraded drizzle-orm to 0.31.0😂 @Andrew Sherman

Did you find this page helpful?