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