Bogdan
CCConvex Community
•Created by Bogdan on 9/17/2023 in #support-community
Can i check equality like this?
the docs say to use combining operators if you want to for example return all documents where the name is either "Alex" or "Emma"
but i found that you could also do
is there a reason i should not use the ladder? it reads much better imo.
3 replies
CCConvex Community
•Created by Bogdan on 9/12/2023 in #support-community
Handle client disconnecting?
On the backend, how would i listen for a client disconnecting?
With socket.io i could just add a socket.on("disconnect", callbackFn()) to handle this, is there something similar built into convex?
i thought about using beforeunload but it's unreliable.
any ideas or suggestions?
55 replies
CCConvex Community
•Created by Bogdan on 9/11/2023 in #support-community
Could not resolve "crypto"
I am trying to have a function that generates a code and returns it to the react client.
but then i get this error:
how would i resolve this? i also feel as though there is a gap in my understanding of how convex is supposed to work .
6 replies