Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tylernathanreed authored Dec 2, 2024
1 parent fcac3e9 commit bb7ff3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ $relation = Relation::noConstraints(function () {
->belongsTo(Country::class, 'kingdom_name', 'name');
});

User::query()->joinRelation([$relation, 'kingdoms');
User::query()->joinRelation([$relation, 'kingdoms']);
// SQL: select * from "users" inner join "countries" as "kingdoms" on "kingdoms"."name" = "users"."kingdom_name"
```

Expand Down

0 comments on commit bb7ff3a

Please sign in to comment.