Michael Holmes
CCConvex Community
•Created by Michael Holmes on 10/18/2023 in #support-community
Excluding fields in a query?
Nice!
5 replies
CCConvex Community
•Created by Michael Holmes on 10/18/2023 in #support-community
Excluding fields in a query?
Ok I'll go with multiple documents. Is there a preferred way to create one-to-one relationships in convex? Something like this?
organizations: defineTable({
accountId: v.optional(v.union(v.id('organizationAccounts'), v.null())),
})
5 replies
CCConvex Community
•Created by erquhart on 7/1/2023 in #support-community
Updating the UI for relational batch deletions
Great thank you!
11 replies
CCConvex Community
•Created by erquhart on 7/1/2023 in #support-community
Updating the UI for relational batch deletions
Is it weird I had to use toString() here?
.filter(q => q.and(...nameMatchIds.map(id => q.not(q.eq('_id', id.toString())))))
Otherwise the type of nameMatchIds: Id<"organizations">[] results in type error
11 replies