回答編集履歴
1
fixed typo
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
```
|
5
|
+
```python
|
6
6
|
|
7
7
|
session.query(Photo).with_entities(Photo.user).all()
|
8
8
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
```
|
17
|
+
```sql
|
18
18
|
|
19
19
|
SELECT users.id = photos.user_id AS user FROM users, photos
|
20
20
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
```
|
29
|
+
```python
|
30
30
|
|
31
31
|
for p in session.query(Photo).with_entities(Photo.user).all():
|
32
32
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
```
|
43
|
+
```python
|
44
44
|
|
45
45
|
for p in session.query(Photo).all():
|
46
46
|
|