Skip to content

Commit cecc7cf

Browse files
committed
增加 PyMongo
1 parent 905a6bc commit cecc7cf

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

libs/python.wiki

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,15 @@ conn.commit()
10681068
conn.close()
10691069
</source>
10701070

1071-
=== 6.2.7 Redis ===
1071+
=== 6.2.7 MongoDB ===
1072+
1073+
<h4>PyMongo</h4>
1074+
1075+
Docs:[https://docs.mongodb.com/ecosystem/drivers/python/]
1076+
1077+
这是 MongoDB 官方提供的 Python 驱动。
1078+
1079+
=== 6.2.8 Redis ===
10721080

10731081
<h4>redis-py</h4>
10741082

@@ -1084,7 +1092,7 @@ r.set("foo", "bar")
10841092
print(r.get("foo"))
10851093
</source>
10861094

1087-
=== 6.2.8 LevelDB ===
1095+
=== 6.2.9 LevelDB ===
10881096

10891097
<h4>Plyvel</h4>
10901098

@@ -1101,7 +1109,7 @@ print(db.get(b"key"))
11011109
db.close()
11021110
</source>
11031111

1104-
=== 6.2.9 Berkeley DB ===
1112+
=== 6.2.10 Berkeley DB ===
11051113

11061114
<h4>PyBSDDB</h4>
11071115

0 commit comments

Comments
 (0)