Skip to content

Commit e46eaf6

Browse files
pymongo to input in mongodb
1 parent 5d70d58 commit e46eaf6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
329 Bytes
Binary file not shown.

using_mongodb.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from pymongo import MongoClient
2+
client = MongoClient()
3+
db=client.test
4+
col=db.store
5+
result=col.insert_one({"Ankit":"HelloWorld"});
6+
print(result.inserted_id)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy