From 02a28d20c4f484bfc6480376dd8be73a3791796c Mon Sep 17 00:00:00 2001 From: wikirik-agent Date: Thu, 24 Sep 2026 13:14:02 +0000 Subject: [PATCH] docs: fix the association reference example of sql.attribute `$user$.name` is parsed as a JSON path on the `user` attribute; the association reference syntax is `$user.name$`. Co-Authored-By: Claude Fable 5.1 --- docs/querying/raw-queries.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/querying/raw-queries.mdx b/docs/querying/raw-queries.mdx index f766dcbb..957eb157 100644 --- a/docs/querying/raw-queries.mdx +++ b/docs/querying/raw-queries.mdx @@ -446,7 +446,7 @@ User.findAll({ association: User.associations.posts, where: sql.where( // highlight-next-line - sql.attribute('$user$.name'), + sql.attribute('$user.name$'), Op.eq, 'Zoe', ),