Son
Son
Explore posts from servers
CCConvex Community
Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
Oh this makes sense! Thanks
10 replies
CCConvex Community
Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
Thanks for the response! i’ve only used jsx based frameworks (JavaScript) and i understand what you’re getting at. Most of my queries and mutations just call helpers as you say. Im struggling to visualise what your get here though “If you have an organizations table, keep addMemberToOrg, getAllOrgMembers, etc. in one file or directory. Don't directly insert into the organizations table from outside of that directory, so you don't have to remember to check permissions or set foreign keys or enforce constraints from other places.“
10 replies
CCConvex Community
Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
Do you have examples of this “accessor” patterns?
10 replies
CCConvex Community
Created by Son on 12/22/2024 in #general
son_ayo's Thread
Thanks again!
6 replies
CCConvex Community
Created by Son on 12/22/2024 in #general
son_ayo's Thread
Is it a good to approach to make all fields in your database scheme optional?
6 replies
CCConvex Community
Created by Son on 12/22/2024 in #general
son_ayo's Thread
Thanks for the tips
6 replies
CCConvex Community
Created by Gary, el Pingüino Artefacto on 9/10/2024 in #support-community
How to aggregate documents (more than 16K)?
will something like this be possible soon?
ctx.db
.query("eventMoment")
.withIndex("by_creatorId",(q) => q.eq("creatorId",partnerId))
.filter((q) => q.eq(q.field("hasPartnerSeen"),false))
.count(),
ctx.db
.query("eventMoment")
.withIndex("by_creatorId",(q) => q.eq("creatorId",partnerId))
.filter((q) => q.eq(q.field("hasPartnerSeen"),false))
.count(),
or
ctx.db
.query("eventMoment")
withIndex("by_creatorId_hasPartnerSeen",(q) => q.eq("creatorId",partnerId).eq("hasPartnerSeen",false)).count(),
ctx.db
.query("eventMoment")
withIndex("by_creatorId_hasPartnerSeen",(q) => q.eq("creatorId",partnerId).eq("hasPartnerSeen",false)).count(),
21 replies
CCConvex Community
Created by Son on 9/1/2024 in #support-community
Convex Monorepo Issue (react-dom native)
update: adding these two packages to the root package.json seems to have done the trick "dependencies": { "@clerk/clerk-js": "^5.18.0", "react-dom": "18.2.0" },
9 replies
CCConvex Community
Created by Near on 9/1/2024 in #support-community
Guarantees for the timing of scheduled functions
Thanks for the explanation!
13 replies
CCConvex Community
Created by Son on 9/1/2024 in #support-community
Convex Monorepo Issue (react-dom native)
got it working. had to install "@clerk/clerk-react": "^5.5.0", as well as react-dom same error, even after installing clerk-react in native project.
9 replies
CCConvex Community
Created by Son on 9/1/2024 in #support-community
Convex Monorepo Issue (react-dom native)
No description
9 replies
CCConvex Community
Created by Son on 9/1/2024 in #support-community
Convex Monorepo Issue (react-dom native)
No description
9 replies
CCConvex Community
Created by Son on 9/1/2024 in #support-community
Convex Monorepo Issue (react-dom native)
I installed it directly into my repo, (native app) and got the same issue unfortunately
9 replies