回答編集履歴
1
最良の方法を修正しました。
answer
CHANGED
@@ -5,4 +5,10 @@
|
|
5
5
|
|
6
6
|
[https://stackoverflow.com/questions/23001156/how-to-get-ordered-dictionaries-in-pymongo](https://stackoverflow.com/questions/23001156/how-to-get-ordered-dictionaries-in-pymongo)
|
7
7
|
|
8
|
-
`OrderedDict`を使うのが簡単だと思います
|
8
|
+
`OrderedDict`を使うのが簡単だと思います。
|
9
|
+
|
10
|
+
```python
|
11
|
+
client = MongoClient(document_class=OrderedDict)
|
12
|
+
```
|
13
|
+
|
14
|
+
の方法が一番良い方法だと思います。
|