FiberOpticFox
CCConvex Community
•Created by FiberOpticFox on 10/16/2024 in #support-community
Paginated Query With Empty String Argument Gives Unexpected Results
I have a paginated query implemented something like this
and when argument to the query is
{ clerkId: "" }
, it gives me back documents where the clerkId field is a non-empty string. I've noticed that it works fine when the argument is a non-empty string. So what's the deal with the empty string?
I see this behaviour in my app, as well as running the function on convex dashboard.
If you want more details of the specific convex instance, dm me.10 replies