Best way to get the type of a where condition dynamically

https://discord.com/channels/1043890932593987624/1139824147044782120 I found this thread, but it's a bit underwhelming. Is there a better way to define a query builder where type as a generic? That thread relies on a third party lib
1 Reply
Angelelz
Angelelz12mo ago
Just make it generic? BTW, whatever you put in the where doesn't change the type. so you don't even need to make it generic for that case
Want results from more Discord servers?
Add your server