Sean Aguinaga
Sean Aguinaga2w ago

RAG - update entry Categories or delete entries by Category

Hello Trying to figure out how to get entries by a given category (user defined - ID of category in table) So that if a user deletes a category, it will delete the files associated with it? or set all those to null?
5 Replies
Convex Bot
Convex Bot2w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Sean Aguinaga
Sean AguinagaOP2w ago
I guess that would be delegated to my own applications schema?
No description
erquhart
erquhart2w ago
Yep, you would set up the schema for that yourself
Sean Aguinaga
Sean AguinagaOP2w ago
Can you update the entries category/filter data after it has been added? Or does it need to replaced?
erquhart
erquhart2w ago
The fileMetadata table is your own, so you can do whatever you like with it. You can update the existing docs with different category info or run a migration, depending on what exactly you're doing

Did you find this page helpful?