Patch not typechecking
for now i do a
db.get
and fill any missing values in the db.patch
with those values but idk y i need to do 2 queries for the sake of typescript??Correlating function references with `Schema` args validators
I've made some good progress on this (https://discord.com/channels/1019350475847499849/1019350478817079338/1157131989825093772), but have recently run into an unfortunate roadblock and am looking for thoughts and suggestions!
supabase questions
Can't DM you, but my last project was Supabase so have a lot of recent experience here 🙏
Using Convex with Netlify | Convex Devel...
another tiny issue in the docs: the netlify deployment instructions say you can find the environment variables in netlify under "Advanced > New Variable" but it is actually "Site Configuration > Variables > Add a Variable"
at least for me, thats how it looks
https://docs.convex.dev/production/hosting/netlify...
convex-helpers npm package
Have you thought of turning convex-helpers into an npm package? https://github.com/get-convex/convex-helpers/tree/main
Updates to the db and syncing clients
Building a collaborative platform that does rapid read/writes to a database that must sync across clients, can i use the update documents method in the docs?
Hello I followed the Next JS quickstart
Hello, I followed the Next.JS quickstart to the letter (I think), running into error, please advise: Module not found: Can't resolve '../convex/_generated/api'
2 | import Image from 'next/image'
3 | import { useQuery } from "convex/react";
4 | import { api } from "../convex/_generated/api";5 | ...
Convex Effect bindings & framework(?)
Hi everyone!
I've begun working on an
Effect
(https://effect.website) bindings library for Convex, which I see evolving into something of a framework over time. I want to share some of my goals and anticipated features to get folks' feedback....Query both unset and false
Hi Everyone! I love using Convex so far, it is really easy and a lot of great features out of the box. Right now I am trying to figure out a best practice to implement a "soft delete".
I have defined a schema documents:
```...
Trouble with equality predicate
```js
const emptyFields = await ctx.db
.query("bookmarks")
.withSearchIndex("by_userId", q =>
q.search("userId", userId).eq("embedding", undefined [] null), // the fields with [] are selected correctly. but the fields that are "unset" are not selected. how can i select them?...
Hi I m trying to create a Delete user
Hi! I'm trying to create a "Delete user" internalMutation I can run from the dashboard by passing in a userId to have it delete docs across multiple tables owned by that user.
I tried using the
migration
helper and calling it on multiple tables from within my mutation, but get this error:
```
Uncaught Error: This query or mutation function ran multiple paginated queries. Convex only supports a single paginated query in each function....Unrelated to the above Am I right in
Unrelated to the above: Am I right in saying that I can't write to the file system in an action?
Hey team how does npm bundling work in
Hey team, how does npm bundling work in convex actions?
Let's say I've got this action
```...
Get server time in a query/mutation for `updatedAt`
Hi, is there any server function to get the server time in my query/mutation
I want to create a
updatedAt
column in a Table...