Hello again!
I was wondering if there is a limit to how many filters you can use in a query, specifically the “any” filter.
For example, a dexTrade with an array of currencies:
any: [{baseCurrency: {is: "xyza"}}
{baseCurrency: {is: "xyzb"}},
{baseCurrency: {is: "xyzc"}},
{baseCurrency: {is: "xyzd"}},
{baseCurrency: {is: "xyze"}},
{baseCurrency: {is: "xyzf"}},
{baseCurrency: {is: "xyzg"}},
{baseCurrency: {is: "xyz"h}}]
Is this approach faster than using “in”?
any: [{baseCurrency: {in: ["xyza", "xyzb", "xyzc", ""xyzd"]}}
And is that any different from not using “any”?
{baseCurrency: {in: ["xyza", "xyzb", "xyzc", ""xyzd"]}
Thank you!