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
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!
I guess that would be delegated to my own applications schema?

Yep, you would set up the schema for that yourself
Can you update the entries category/filter data after it has been added?
Or does it need to replaced?
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