Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the fullstack TypeScript platform for developers and startup founders.

Join

support-community

show-and-tell

general

self-hosted

announcements

How Query/Mutation Tracking Works

are there any docs on how convex tracks queries and mutations and what guarantees convex offers?

Efficiency of doing joins in JavaScript

So i was exploring convex, and following the react tutorial to get the gist of what convex provides. I ran into this bit of code. ``` export const list = query({ args: {}, handler: async (ctx) => {...

Websocket / Gaming Frameworks

Hi! Has anyone tried to used convex for unity or godot games? Related, does the Python client use websockets?...

Stuck deploy

yo guys its been more than 15 minutes im stuck with Backfilling indexes and checking that documents match your schema upon spinning up npx convex dev why is that?...

@luke @ThatGuyJamal @arthur I'm working

@luke @CodingWithJamal @arthur I'm working on releasing the Monorepo (React Native + web) template today, check it out and lmk if you have feedback: https://github.com/get-convex/turbo-expo-nextjs-clerk-convex-monorepo

Hello all, I got this email like

Hello all, I got this email like yesterday and was wondering how I could participate. Do I need a team or I can participate alone?
No description

Running LLMs inside Convex

is it possible to run an LLM inside a convex action? has anyone tried?

optional filter

Is it possible to make a filter optional in a query? For context im trying to allow for filtering by userId, but if no userId is provided in the filter input, i just want the filter ignored.

Caching when relying on time

Hi. I have some questions about caching. If I have a function which is deterministic for 1 hour, every hour it will update, will this be cache? If not, what is the way of handling this caching behaviour?

Can I overwrite content on the file

Can I overwrite content on the file server or must I delete the existing file and create a new upload URL with the new file? I would like to overwrite PDFs that have been fetched and updated by the client if possible.

Convex Open Source and Internals

Hi, is convex main codebase open source?, in which language is it built and what database does it use under ther hood?

getUserIdentity returning null

Hi everyone, I really like Convex, but I have a bug. I am using the ctx.auth.getUserIdentity() method to get user information. Everything is fine until I decide to refresh the page. If I refresh the page, ctx.auth.getUserIdentity() returns null, even though the user is definitely authorised. Is this how it should be or is it a bug?

Aggregating sums

Hi, I'm new here. Have a question regarding how aggregation is handled. Suppose I have a large number of transactions, and I would like to maintain the sum of all transactions (say expenses). Does convex handle this in a way that may run into the limits (e.g. each update may require scanning the entire history), or does it automatically recongize that for a new transaction, it can simply add to the last snapshot? Also, if I added the functionality for aggregation after there are already some transactions, will convex help to ensure that the data is correctly backfilled?...

truncating search queries

Okay. Would be cool if it just truncated, failing leaves validation to the user (which is not a huge deal for the user, to be fair). But would be cool if it truncated (and maybe logged a warning).

Serving file storage

Hello, I wanted to ask how files are served by the Convex file storage service. Are they sent as Blobs to frontend frameworks? Could you clarify this detail to help me build an application that relies on File Storage? Could you tag me to get the notification of the answer? Thanks in advance!...

Convex features for hackathon

I also need to know more about convex and how to utilize its features. Currently going through the docs

Allen Hartwig 🥜 on LinkedIn: Nut Tree w...

@allen thanks so much for the kind words! right now in Convex's stage, nothing matters more than you all talking about Convex if you feel it's authentically a good platform and team. so we can't overstate how much sharing enthusiasm with the rest of the web matters for us. ( https://www.linkedin.com/posts/allenhartwig_nut-tree-went-from-idea-to-market-in-under-activity-7154155376106459136-36e_?utm_source=share&utm_medium=member_desktop )

Storing .mdx files

is it possible to store mdx files in convex file storage to build a sorta cms?

Want branded strings or more specific

Want branded strings or more specific types? I just realized this just works: ```...

I didn't see this configuration, so I

I didn't see this configuration, so I assume Convex does not currently support it, but would be great if I could configure custom domains that I own to point to production and dev envs, would cut out one more dependency from my stack 🙏