> Convex supports indexes containing up
Convex supports indexes containing up to 16 fields. You can define 32 indexes on each table. Indexes can't contain duplicate fields.tried three fields, been battling with typescript for more than an hour gonna continue tomrorow...
enforce unique indexes
is there a way to enforce unique indexes that combine multiple columns like in sql. like product id, product size, product color. this way when mutation would try to insert already existing combination of colums convex would throw an error?
My current working solution is to go to
My current working solution is to go to prod after deployment and run the convex function using the dashboard
i am using next js with convex and i am
i am using next js with convex and i am trying to use convex auth and i followed the docs , but i keep getting this error
I disabled all extensions (literally all
I disabled all extensions (literally all). And restarted, but the calculation takes 10 minutes, and after any changes it starts over again π¦
Optimistic update rollback on mutation failure
can you please point me out what code does it? because i ported react client to solidjs. maybe its because of this
schedules page needs some work.
schedules page needs some work.
1. there is some visual glitch like its refreshing all the time or something
2. its not visible when the function is going to execute...
App Ideas
What kinda of apps or app clones would you like to see built on Convex? Drop your ideas in the thread. Thanks!
But the schema cannot be updated if
But the schema cannot be updated if there is existing data unless you turn off schema validation, right?
Is there a way that I can track a convex
Is there a way that I can track a convex fatal error?
[CONVEX FATAL ERROR] Auth provider discovery of https://79ad67f7cae0.ngrok.app/api/ failed...
I don't think so β it was working fine
I don't think so β it was working fine as of about 5 hours ago. I don't run a vpn or any custom connectivity stuff
The fact that it appears to be failing silently makes debugging difficult...
hello everyone, im finding extremely
hello everyone, im finding extremely confusing to configure authentication with a stack with next.js, clerk, and convex, so many tutorials referring each other, im kind of lost and i dont know wat is the official tutorial anymore. am I missing something? is instead convex auth now reccomended?
I am in the process of trying to manage
I am in the process of trying to manage access tokens for a user across different providers. Wondering if anyone has already went through this process using
convex auth
? Specifically, the process of storing the access tokens and refresh token flow. Currently, I have a process where the access token is just saved to the users
table, but this is not a long term solution. I think I would have to probably store the tokens in the authAccounts
table. If you have solved this issue or have a work...Hello hello. Shout out to the convex
Hello hello. Shout out to the convex team - absolutely loving the product!! I'm noticing my biggest pain point is that even though the data retreived caches, my data always refreshes. For this I want to implement React (Tanstack Query) in my Vite App. Anyone have experience with convex x tanstack? Are the docs accurate for this?
i love reactive update via websocket
i love reactive update via websocket from convex but i am missing one part. that mutation code can be shared with withOptimisticUpdate. so i dont need to write basically same code on server and client. to find the way where schema tables and localstore can be same and execute same code
query cache on the server side
would be great to have query cache on the server side so static data doesnt cause billing increase
Hi guys, I need help overriding the
Hi guys, I need help overriding the build command on eas.
On Vercel with a NextJS project, you can override it with this command
npx convex deploy --cmd 'npm run build'
...
i got a question: how would I sync an
i got a question: how would I sync an external list to the convex DB?
I have a Substack newsletter that I'd like to keep track of their subscription status (mainly free vs paid) in my Convex app.
I have setup an automation where I'm able to download, every hour, an updated CSV with all my subscribers and their status. Now I'm thinking how I will keep that CSV in a Convex table or be able to reference its data....
detect if there is no connection to the server
is there a way to detect if there is no connection to the server? i want to show message to the user
All packages installed on client side?
i dont quite get how to use nodejs runtime for action functions. how to install packages in convex. lets say i use external packages. this means i need to install the package that i need in convex but dont need on client side on client?