MegaHydronics
CCConvex Community
•Created by MegaHydronics on 12/19/2024 in #support-community
Accessing database in an action
I'm hoping to better understand why
ActionCtx
does not expose db
. This forces me to write much longer code like the first below, instead of the second.
3 replies
CCConvex Community
•Created by MegaHydronics on 12/17/2024 in #support-community
Accessing client IP address in a query/mutation
Good day. Any help would be appreciated, as I am fairly new to Convex.
Is there a way to expose HTTP headers, such as for obtaining the IP address in the example below? Or is an
httpAction
required for this use case?
7 replies