How are you supposed to do multiple filters with Drizzle?
I've been using Drizzle for my project for a few weeks now. But I have run into a nightmare trying to use multiple filters with Drizzle.
I have a table "events" I need to filter based on:
This only works for up to 2 filters, it was horrible to write and horrible to read. Surely there must be a better way to handle multiple optional filters in Drizzle?
I couldn't find anything useful in the documentation, Please help.
I have a table "events" I need to filter based on:
- Event name (if a search query is provided)
- Dates
- Other field based filters
This only works for up to 2 filters, it was horrible to write and horrible to read. Surely there must be a better way to handle multiple optional filters in Drizzle?
I couldn't find anything useful in the documentation, Please help.