From 366bb526e1f01659d88156aac27e4a28282e8903 Mon Sep 17 00:00:00 2001 From: ASTER CMD <78304398+rem-aster@users.noreply.github.com> Date: Sat, 17 Jan 2026 14:46:14 +0300 Subject: [PATCH] Fixed typo in relations-v2.mdx --- src/content/docs/relations-v2.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/relations-v2.mdx b/src/content/docs/relations-v2.mdx index 7d3784dc..7b04a604 100644 --- a/src/content/docs/relations-v2.mdx +++ b/src/content/docs/relations-v2.mdx @@ -508,7 +508,7 @@ const db = drizzle(process.env.DB_URL, { relations: { ...relations, ...part } }) There are a few rules you would need to follow to make sure it `defineRelationsParts` works as expected -**Rule 1**: If you specify reltions with parts, when passing it to drizzle db function you would need to specify it in the right order(main relations goes first) +**Rule 1**: If you specify relations with parts, when passing it to drizzle db function you would need to specify it in the right order(main relations goes first) ```ts // ✅ const db = drizzle(process.env.DB_URL, { relations: { ...relations, ...part } })