Build queries dynamically with conditions.
How to build query on the basis of if-else conditions? I have tried doing it as below
But the where conditions don't seem to add and the result is returned without them.
2 Replies
Check this thread
https://discord.com/channels/1043890932593987624/1109091751341342820
Thanks, it worked!