Added content.

- Notes
- Practical (Databases, Handouts, Queries, Softcopies, Write-ups)
- Question Papers
- DISCLAIMER file and motto
Lastly, updated README file.
This commit is contained in:
K
2025-01-07 16:34:41 +05:30
parent 375dc7e391
commit 3049887277
97 changed files with 5262 additions and 0 deletions
@@ -0,0 +1,24 @@
sudo python3 -m pip install pymongo
###Open mongo
use test1
db.createCollection("emp")
###Open Python
from pymongo import MongoClient
client=MongoClient("mongodb://127.0.0.1:27017")
database=client.test1
collection=database.emp
collection.insert_one({"name":"smartphone","quantity":"10","price":"50000"})
print("inserted")
client.close()
## check output in mongo
Dr.S.K.Wagh (MES's Wadia COE,Pune)
@@ -0,0 +1,21 @@
sudo python3 -m pip install pymongo
###Open mongo
use test1
db.createCollection("emp")
###Open Python
from pymongo import MongoClient
client=MongoClient("mongodb://127.0.0.1:27017")
database=client.test1
collection=database.emp
collection.insert_one({"name":"smartphone","quantity":"10","price":"50000"})
print("inserted")
client.close()
## check output in mongo