DT
Drizzle Team•5mo 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•5mo ago
@Andrew Sherman
Andrii Sherman
Andrii Sherman•5mo ago
it's not possible, but just wondering what do you want to add? Just an example
kangkang
kangkang•5mo ago
Why the type of typeof Schema.$inferInsert changed in [email protected]?
Andrii Sherman
Andrii Sherman•5mo ago
how it was changed?
kangkang
kangkang•5mo ago
No description
Andrii Sherman
Andrii Sherman•5mo ago
and what's wrong?
kangkang
kangkang•5mo ago
I upgraded to [email protected] 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
Want results from more Discord servers?
Add your server