wemsamuel
DTDrizzle Team
•Created by wemsamuel on 9/4/2024 in #help
Use findMany or Select with Partial Types?
I'm currently trying to implement a findMany query where I can pass a partial object type (similar to how Prisma allows filtering with partial data) to dynamically construct queries based on the fields provided.
Here is an example of what im trying to do
Is there a way to dynamically filter based on partial object input (like Partial<T>)? If not, what would be the recommended approach for handling such use cases? Are there docs or examples you could point me to?
2 replies