Web Dev CodyW
Convex Community3y ago
25 replies
Web Dev Cody

query over a nested array?

let's say I have a table called

projects {
users: v.array(v.string())
}

is there a way I can query over projects using a userId and only return the projects that container the userId inside that users array? should I just do a .collect() and then filter in ts?
Was this page helpful?