diff --git a/src/content/docs/relations.mdx b/src/content/docs/relations.mdx index 4e5617fe..f2b6091b 100644 --- a/src/content/docs/relations.mdx +++ b/src/content/docs/relations.mdx @@ -113,6 +113,9 @@ const user = await queryUserWithProfileInfo(); //____^? type { id: number, profileInfo: { ... } | null } ``` +> [!TIP] +> You may only have one relations export per table, even if separated between different files + ### One-to-many Drizzle ORM provides you an API to define `one-to-many` relations between tables with `relations` operator.