#How can I reference the id of a table from a different component?
1 messages · Page 1 of 1 (latest)
Hi @frank seal. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
I'm sorry, but the knowledge sources do not contain explicit information about referencing the ID of a table from a different component when defining a schema for a Convex component (e.g., using v.id('someOtherComponentTable')).
The available documentation covers referencing IDs between tables within the same schema file and project, and how to use v.id("tablename") for relationships. However, it does not address cross-component table references or whether Convex supports referencing tables defined in other components directly in your schema definitions.