Convex Community

CC

Convex Community

Join the community to ask questions about Convex Community and get answers from other members.

Join

support-community

show-and-tell

general

self-hosted

announcements

makrdev's Thread

I created triggers to cascade delete operations for relational tables. (when user is deleted it cascades to relation tables.) It fails when we have too many documents. How can I handle this situation?

n1bab's Thread

im not sure if i should go to the support channel with this (please send me there if so) but im trying to understand more about the latency associated with httpactions specifically. mutations/queries are always under 250ms for me, but somehow httpActions themselves can take up to 3.5secs (for the same call). ie: Dec 24, 06:42:17 H POST https://rapid-egret-XXXX.convex.site/createRelationships 200 3.5s Dec 24, 06:42:17 M relationships:insert success 250ms...

n1bab's Thread

hey! first of all, congratulations on building an absolutely killer product!! im blown away at how easy it is to build real-time functionality. i dont even have to think about it!

waynesutton_cx's Thread

🎉 Thank you all for being such an incredible part of the Convex community this year. We hope everyone has a wonderful holiday season. As the end of the year holidays are ahead, just a quick reminder: if you need help or have any questions, the #support-community channel is here for you. Here’s to another awesome year together in 2025 🚀....

clevertagline's Thread

Just a heads up, the latest announcement email became unreadable on iOS Gmail app in dark mode after the first couple of paragraphs.
No description

starlord_gf's Thread

hey i am using vite pwa plugin and after last convex npm update i get this error on vercel build. anyone knows how to fix?
error during build:
[vite-plugin-pwa:build] node_modules/convex/dist/esm/browser/sync/authentication_manager.js (5:7): "default" is not exported by "node_modules/jwt-decode/build/esm/index.js", imported by "node_modules/convex/dist/esm/browser/sync/authentication_manager.js".
error during build:
[vite-plugin-pwa:build] node_modules/convex/dist/esm/browser/sync/authentication_manager.js (5:7): "default" is not exported by "node_modules/jwt-decode/build/esm/index.js", imported by "node_modules/convex/dist/esm/browser/sync/authentication_manager.js".
...

delt_'s Thread

I haven't been able to find much about server location. Where is the server located for the convex DB? Is it distributed to multiple locations globally, or is it a single location (if so, how can i select the location)?

jamwt's Thread

A lot of you are using Bolt with Convex recently, as are we. It seems like very recently, Bolt has started to sometime refuse to generate Convex projects and insists on using Supabase. Obivously our community cares a lot about Bolt continuing to be willing to work with this Convex. If you're on X and can send a like/repost/comment of support, please do: https://x.com/jamesacowling/status/1870950211222413620

son_ayo's Thread

are there any opinions on how to verison your api?

barisonerb's Thread

Hi everyone, I have a feature request. Could you add a getTempUrl function to the storage system, similar to the getUrl function, where we can define an expiry time? For example: await ctx.storage.getTempUrl("storageId", 900); and each time a storage ID is requested, it should return a different URL. This would be an incredibly useful feature for everyone....

xpriori's Thread

I'm in a lookout for an example of query + filter function. I can't seem to nail it. I'm currently collecting all my users then run a filter by email on the client. 😂

itsdavidalonso's Thread

Random question: has anyone here ever forked or built the Expo Go app?

benanna19's Thread

Just a potential hiccup that others might have when setting up auth with Clerk. Clerk's UI is very nice but the pop up to save creating a template sometimes goes unnoticed so it's also possible that people (like myself) might run into the issue where they are logging in with clerk but the useConvexAuth hook is returning isAuthenticated: false resulting in confusion. Just needed to make sure to save the JWT Template but didn't really see the button to do so the first time around

vaulco's Thread

Health dashboard look a bit too high on phone.
No description

.i.sona's Thread

how do i combine map with afilter or getX(index) . something like ``` const team = ctx .table('teams') .get(ctx.viewerX().teamId)...

tiger9644's Thread

is it ok to build real time collaborative stuff with convex? e.g. cursor moving around as you move the mouse around?...

usermez's Thread

not sure if its the right approach but I ended up mocking that module like so: ``` // Mock the auth module vi.mock("@convex-dev/auth/server", async (importOriginal) => { const actual = await importOriginal()...

usermez's Thread

Does anyone know what I am doing wrong? Somewhere in my convex function I have the following code.
const userId = await getAuthUserId(ctx);
const userId = await getAuthUserId(ctx);
...

starlord_gf's Thread

but it was really strange. the problem has started only with connection to convex and some mutation query data got messed up. is it possible that client server can somehow desynchronize if connection is not stable?

voulkou's Thread

Hey, I was wondering why have both documentation and search if documentation already does the same thing?
No description