Schema Validation in MongoDB in Hindi ( Complete Explanation )

  Рет қаралды 29,344

Engineering Digest

Engineering Digest

Күн бұрын

Пікірлер: 46
@Rajugupta-gp2eg
@Rajugupta-gp2eg Жыл бұрын
This is called "Sidhi baat, no Bakwaas" !! Thanks a lot sir.
@EngineeringDigest
@EngineeringDigest Жыл бұрын
Thanks! 😊 Join my Insta fam if u haven’t already: @thevipulvats
@rahuls8613
@rahuls8613 Жыл бұрын
showing error,please help db.createCollection("nonfiction",{ validator:{ $jsonSchema:{ required:['name','price'], properties:{ name:{ bsonType:'string', description:'must be a string and required' }, price:{ bsonType:'number', description:'must be number and required' } } } }, validationAction:'error' })
@anshukkoundal2410
@anshukkoundal2410 11 ай бұрын
@@rahuls8613 validator:{ $jsonSchema:{ required:["name","price"], properties:{ name:{ bsonType:"string", description:"must be a string and required", }, price:{ bsonType:"number", description:"must be a number and required", } } } }, validationAction:"error"
@swatimishra205
@swatimishra205 11 ай бұрын
Mera bhi a rha hai ​@@rahuls8613
@meditationandrelaxingvideo6859
@meditationandrelaxingvideo6859 Жыл бұрын
tumare jaisa koi nhi sir pure youtube par
@vineetsingh904
@vineetsingh904 Жыл бұрын
🔥🔥 Ek dum mast point to point and clear explanation
@EngineeringDigest
@EngineeringDigest Жыл бұрын
Thanks a lot 😊
@MdSaifUddin-w7y
@MdSaifUddin-w7y 9 ай бұрын
aapki aawazo me sundarta Thank You...
@072jagadeepamohakudcse8
@072jagadeepamohakudcse8 10 ай бұрын
"Every word you said, sir, is very important to us."
@keep__laughing
@keep__laughing 5 ай бұрын
aapki explaination ka to sir ji mai fan ho gya
@diriwiri
@diriwiri 4 ай бұрын
Bro putting "48 laws of power" and "way of the man" lmaoooo, bucko watched to much Iman Gadzhi
@priyanshnihalani4617
@priyanshnihalani4617 5 ай бұрын
Best Explanation, Thanks for Providing your great knowledge☺
@BuddhadevHaldar-r5w
@BuddhadevHaldar-r5w 3 ай бұрын
Hi dev, mera ek question tha keya schema banane k liye mongoose ka istemal necessary hain in mongodb..kyuki yeha pe to sab schema ready ho raha hain
@codesaif8075
@codesaif8075 Жыл бұрын
Complex thing with simple Explanation undertstood everything Thanks
@EngineeringDigest
@EngineeringDigest Жыл бұрын
You're welcome!
@rahuls8613
@rahuls8613 Жыл бұрын
error
@swatikamble4396
@swatikamble4396 7 ай бұрын
Very nice Mera ek question he insertone and inserntmany command shod ke dusri command he kya
@sagardarji4764
@sagardarji4764 9 ай бұрын
super playlist😊😊
@SOHAILKHAN-iu8fu
@SOHAILKHAN-iu8fu Жыл бұрын
Love you sir 💕
@sagarkumargupta3071
@sagarkumargupta3071 7 ай бұрын
is it necessary to learn schema validations of MongoDB, cant we do it while defining our models ?
@EngineeringDigest
@EngineeringDigest 7 ай бұрын
bhai 10 min ki video h
@sagarkumargupta3071
@sagarkumargupta3071 7 ай бұрын
@@EngineeringDigest kr lia h bhaiyaa..
@fatimaiqra2169
@fatimaiqra2169 3 ай бұрын
thanks a alot!
@basictechnicaltricks8421
@basictechnicaltricks8421 10 ай бұрын
Aap bahut aacha padhate ho bhai ,😂Bhai aapki awaj elvish yadav jensi hai😂
@jeeteshwarsingh7446
@jeeteshwarsingh7446 6 ай бұрын
well explained
@kkgamer4184
@kkgamer4184 Жыл бұрын
Sirji thank you thank you thank you so muchhhhh
@EngineeringDigest
@EngineeringDigest Жыл бұрын
Most welcome
@awais_korai
@awais_korai 4 ай бұрын
Even after creating the JSON Schema, additional fields bypass the validation, if someone performs an Insert operation. I had to explicitly mention additionalFields :false. I also had to add a property: _id:{bsonType:"objectId"} I also had to include _id in required fields.
@GreatTimeAlwaysTakeTime
@GreatTimeAlwaysTakeTime Жыл бұрын
love you sir
@foodistan9311
@foodistan9311 Жыл бұрын
Kamal
@awaisali2356
@awaisali2356 Жыл бұрын
Hello brother mza a gya bhai mongoose pe bi bna dy tutorial?
@EngineeringDigest
@EngineeringDigest Жыл бұрын
will try my best
@gurutechnique9074
@gurutechnique9074 Жыл бұрын
Nice 👍👍👍
@EngineeringDigest
@EngineeringDigest Жыл бұрын
Thank you! Cheers!
@navalpatil4401
@navalpatil4401 Жыл бұрын
Nice bro
@vrajverma2804
@vrajverma2804 Жыл бұрын
Ek doubt hain, field data non empty ho, yeh krna ho toh.. Jaise ki apne email mein empty data set krdiya.. But that should be required in my case
@shubhadapatil391
@shubhadapatil391 10 ай бұрын
How to off the existing validation??
@the_princekrrazz
@the_princekrrazz 10 ай бұрын
Sir aapne bola h is video me code description me doonga but code kha h .
@rahuls8613
@rahuls8613 Жыл бұрын
this code is showing error
@swatimishra205
@swatimishra205 11 ай бұрын
Error a raha hai
@RahulRahul-nt6qt
@RahulRahul-nt6qt 6 ай бұрын
Hi sir Vs code se shell par kase past kare nahi ho Raha hai
@doglibrary
@doglibrary 3 ай бұрын
db.createCollection("nonfiction", { validator:{ $jsonSchema:{ required:['name', 'price'], properties:{ name:{ bsontype: 'string', description: 'must be a string and required' }, price:{ bsonType: 'number', description: 'must be a number and required' } } } }, validationAction: 'error' })
@AbheyBhatia
@AbheyBhatia 9 ай бұрын
Getting error "TypeError: db.runcommand is not a function" db.runcommand({ collMod: 'nonfiction', validator: { $jsonSchema: { required: ['name', 'price'], properties: { name: { bsonType: 'string', description: 'must be a String and is required' }, price: { bsonType: 'number', description: 'must be a number and is required' }, authors: { bsonType: 'array', description: 'must be an array and is required', items: { bsonType: 'object', required: ['name', 'email'], properties: { name: { bsonType: 'string' }, email: { bsonType: 'string' } } } } } } }, validationAction: 'error' })
@chaitanyakurwade
@chaitanyakurwade Жыл бұрын
user is not allowed to do action [collMod] on [books.nonfiction] // abhi tak accha chal raha tha lekin ye error aa raha hai, ise kaise hataye?
Write concern in MongoDB in Hindi
4:36
Engineering Digest
Рет қаралды 20 М.
Complete Tutorial: MongoDB Transactions with Node.js from Start to Finish
6:58
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Grouping in mongodb
24:51
Hitesh Choudhary
Рет қаралды 40 М.
What is Bandwidth &  Throughput &   Latency  ||  Computer Networks
11:50
The GATE Learner
Рет қаралды 538
The Ultimate MongoDB Aggregation Guide: Make Your Queries Soar in One Video
31:40
Learn Mongodb aggregation Pipelines | setup
19:59
Hitesh Choudhary
Рет қаралды 98 М.
Is an Indian MBA Worth It? | Reality Check | Warikoo Career Hindi
17:51
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН