Backlinks/bidirectional links
Hi all, I love Convex. So much promise. I am trying to build an Airtable alternative on it. How do you suggest approaching designing auto-synced bidirectional references? (Bidirectional record linking, reference for how it works in airtable: https://support.airtable.com/docs/linking-records-in-airtable)
Linking Records in Airtable | Airtable Support
When you’re managing a workflow, there’s a lot of information to keep track of. Knowing which project connects to which client, or which...
3 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!
check out https://stack.convex.dev/triggers
Database Triggers
Triggers automatically run code whenever data in a table changes. A library in the convex-helpers npm package allows you to attach trigger functions t...
Hi @alixi , so you suggest doing it via triggers with actual references on both ends? Will that take care of indexing too? Just curious about your thought regarding best architecture, in terms of consistency, flexibility, and atomicity.