Joseph_Ebuka
CCConvex Community
•Created by Joseph_Ebuka on 12/14/2023 in #support-community
How do i get a type of date
I need to get a date type with convex values and it seems it isn't available
18 replies
CCConvex Community
•Created by Joseph_Ebuka on 12/6/2023 in #support-community
Assits with relationships
How can i get projects which for members in which thier id is the projectmembers table
projects: defineTable({
title: v.string(),
description: v.string(),
url: v.optional(v.string()),
github: v.optional(v.string()),
deadline: v.string(),
startTime: v.string(),
creator: v.id("users"),
isCompleted: v.boolean(),
coverImage:v.optional(v.string()),
}),
projectMembers: defineTable({
projectId: v.id("projects"),
userId: v.id("users"),
role: v.string(),
})
.index("by_projectId", ["projectId"])
.index("by_userId", ["userId"]),
20 replies
CCConvex Community
•Created by Joseph_Ebuka on 12/4/2023 in #support-community
Assist with mutations
i want to add a document to the database but i want to make sure an exact match of that docment dosent already exist before adding it (i just want to make sure the userId dosent match the userID in an already existing document)
5 replies
CCConvex Community
•Created by Joseph_Ebuka on 12/2/2023 in #support-community
How do I actually validate that it’s a particular user logged in
So I need to validate that It’s a user logged in am using clerk for authentication should I always use the identity? Ctx.auth.getUserIdentity but since I have a table in the dB storing every user Info I still don’t understand the process very well cause u would like to use the Id from the table not the one from clerk
Any tips would be considered helpful thank you
4 replies
CCConvex Community
•Created by Joseph_Ebuka on 11/25/2023 in #support-community
Am working on a project and I need your help
I need someone to explain to me how I can build a relationship between my tables with id’s and all of that any answer would be helpful thanks
3 replies
CCConvex Community
•Created by Joseph_Ebuka on 11/22/2023 in #support-community
Bug Problem preparing convex functions
after running npx convex dev it shows preparing convex functions for like 1s and then it just stops (i dont think its network issue cause my other convex project still works fine)
11 replies