@jamwt I also have a function that
@jamwt I also have a function that returns player position based on score on the leaderboard ie #320 for field score 2313 points, is there a way to do that without fulltable scan to count players above?
Share API between Expo app and Next.js web app
Hii, i need some help regarding my convex project. I have a expo app with convex and now i want to make admin panel for this app in web with next js. How can i use my existing convex backend in my web. i tried to copy convex folder from app to web but it is not working as expected like @convex/auth-dev this package is not giving export intellisense. But when i am putting path manually then it is working. But this approach is not scalable we are multiple dev. one other approach to add monorepo b...
Not a slug
Do people have a favourite id field name for what is essentially an alternate _id? For use in the frontend/url, maybe with relations? There's no other reason for it or particular logic behind how it's generated, and it is NOT a "slug". I tried just calling it "id" but that was challenging for me and my friend Cursor Tab.
__tableName on IDs
is
__tableName
supposed to be undefined on client-side?
I have a field that can be one of two possible kinds of Ids, want to check which one it is in runtime...But don't worry, the clever devs have
But don't worry, the clever devs have already come up with a solution - the convex library already uses websockets! so you don't need to do the extra overhead of moving data in an out of another layer of server
Thank you for your quick reply. If I
Thank you for your quick reply. If I enter the command in the local environment and deploy manually, it works. I have also removed *.vercel.app domain from vercel under domains. If you go to the deployment link, then 404: NOT_FOUND is shown. It is deployed like a kind of website, but is not accessible. Is this all correct?
Hi, I am evaluating convex for an app
Hi, I am evaluating convex for an app that currently uses yjs / livekit but got too complex. for saas I can use hosted, but many business clients want full no premise solution so I need to self host. I see you don't support migrations, but is there any migration guide or info and are people doing it in practice? I also can't afford an enterprise plan with on premise support as I'm just getting started and they are SMBs, but I also can't adopt convex without self hosting for them on their server...
Returning scheduled function id
Am I trippin or losing my mind - is is not possible to schedule an action in a mutation and return the scheduled function id? As soon as I attempt to return
scheduledId
in the function below, both the function declaration deleteUser
and the scheduledId
variable incur the TS error implicitly has type because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
```
export const deleteUser = authMutation({
returns: v.id('_scheduled_functions'),...I think the only thing missing from
I think the only thing missing from Convex for me is content management. A generated CMS dashboard for content managers.
Not sure if this is out of scope for Convex, but it would allow me to move every project to it....
join while paginating
how can I do a join while paginating? Everytime time I want to fetch the associated data, I have to realize the iterable
pagination
Hi all. I'm trying to wrap my head around pagination with
convex.dev
. Does the getPage
helper function also support filtering the data been paginated? If not, how can I filter the data and then apply pagination? The getPage
examples in the documentation only show pagination on the whole table, not a subset of its data (I hope I'm making sense).Convex Auth with a custom domain
Hey @ballingt @sshader, any tips or guidance would be greatly appreciated 🙏
for the first time I created a public
for the first time I created a public landing page which has a simple "contacts" form to get emails. Of course it uses a Convex mutation to store the data in the database. Since the mutation is completely public and requires no authentication to get called from the client, what I am worried about is potential abuse from malitious users. How should one approach this?
`_creationTime` not guaranteed to be monotonic over time
Hi, guys, I've maybe come across a bug about convex. Please read the image.
How to see Convex client API calls
Have you guys noticed that api calls are not displayed in network tab?
How did you guys hid it?...
Hey, is there a way to pass custom info
Hey, is there a way to pass custom info to mutation context? I'd like to return localised error messages in my mutations, but for this I need to know the current locale. What's the best way to do it?