Skip to content

Commit a6e1492

Browse files
committed
Doocs: fix highlighting
1 parent 1f80fcb commit a6e1492

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tutorial/relationship-attributes/multiple-relationships-same-model.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Query: Find users with home address zipcode "100000" and work address zipcode =
1313
### Alias Query
1414

1515
Using an alias, JOIN the address table twice:
16-
```
16+
```sql
1717
SELECT *
1818
FROM user
1919
JOIN address AS home_address_alias
@@ -27,7 +27,7 @@ WHERE
2727

2828
### Correlated Sub-Query
2929
Using sub-queries, filter the matches with EXISTS:
30-
```
30+
```sql
3131
SELECT *
3232
FROM user
3333
WHERE (
@@ -69,7 +69,7 @@ If the foreign table search criteria (address.zipcode) is not unique, prefer EXI
6969
Let's define a `winter_team` and `summer_team` relationship for our heros. They can be on different
7070
winter and summer teams or on the same team for both seasons.
7171

72-
```Python hl_lines="9 13"
72+
```Python hl_lines="11 15"
7373
# Code above omitted 👆
7474

7575
{!./docs_src/tutorial/relationship_attributes/multiple_relationships_same_model/tutorial001.py[ln:13-26]!}
@@ -134,7 +134,7 @@ Query Heros filtering by Team attributes by manually specifying the `join` with
134134
```Python hl_lines="9"
135135
# Code above omitted 👆
136136

137-
{!./docs_src/tutorial/relationship_attributes/multiple_relationships_same_model/tutorial001.py[ln:69-89]!}
137+
{!./docs_src/tutorial/relationship_attributes/multiple_relationships_same_model/tutorial001.py[ln:69-91]!}
138138

139139
# Code below omitted 👇
140140
```

0 commit comments

Comments
 (0)