Комментарии:
Thank you
Ответитьsimple and clean video to learn. aweeeeesome
ОтветитьHi, very useful! Anyway I already created CRUD routes that spoke to the local host and I was looking for "how to connect express to mongoDB" nd found you video but HOW DO I MAKE THE CONTENT I CREATED IN THE DB APPEAR ON THE WEB PAGE? Please let me know.
ОтветитьHey, can you tell how to use mongodb schema validation with collection in node js ? It will be very helpful.
ОтветитьThanks for taking the time to sooooo clearly explain the basics!!!
ОтветитьBut I'm using mongoose
Ответитьwho else is watching on 0.5x speed?
Ответитьthank you for your great work
ОтветитьI think you are going too fast for a beginner, you are explaining very little about the things you are doing, I wanted an in-depth explanation for ex: MongoClient, what it is and what it does, I think this video could have been improved a bit further
ОтветитьSuper helpful! Thanks Lauren. You are awesome. You have great taste in glasses.
ОтветитьI came here from the last stream, very helpful!
ОтветитьThank you!!! More people should make videos like this. A lot times it's "Ok so we'll start by installing these 8 frameworks" when they're teaching one thing. Like... I just want to know about the one thing. This has helped me so much more than any other tutorial on the topic I've watched. Thank you again
ОтветитьIt's not very often that documentation is intuitive. Kudos for making a step by step that helps us beginners
ОтветитьСпасибо огромное за уроки! Очень познавательное видео!
Ответитьgood job. concise tutorial. seems more flexible than mssql so far…
ОтветитьGreat video. It was super fun to watch.
ОтветитьThank you. Really good content.
How does Mongodb handle images and other file types?
This is a big help! Thank you!
ОтветитьToo many unanswered questions here: 1) How to make this work with client-side and server-side js? E.g. my client-side code returns "not a function" for "client.db" after following this. 2) Were "sample_airbnb" and "listingAndReviews" already created somewhere else? How will I create my own database and collection using code? 3) How to insert a pre-defined object instead of writing the data directly into the function as here? Basic questions, I am sure, but I came here to learn the basics of setting this up. I didn't.
ОтветитьAmazing
ОтветитьThx you very much
ОтветитьWhy are you guys using the full string for the connection? isn't it a security risk? why don't you process a .env instead?
ОтветитьHi Team, I have a question, please help.
Let us say that I have a list of employees. Now I want to increment Salary of all employees by +100 based on the employee ID that I receive.
So, If employee ID not not existing in the DB, I should add the empID and then update the salary, inthis case Salary will be 100. ( 0+100).
I am using forEach on employeeID list and for each employeeID, I am calling updateMany.
This doesn't work the first time when I run. ( Only first record of the list gets updated and remaining are left. ) when I run 2nd time the same query, all the elements in the list get updated correctly
Thanks <3
You are awesome. You saved my ass
Thanks for the video, It was very helpful for me to start understanding mongoDB & CRUD as a beginner. Can I ask what theme you're using on VScode, it looks very clean & readable
ОтветитьI have a problem . I am connecting my app to mongo cluster but it give me error ..can anyone help me
ОтветитьThanky you for providing this brillant content.
ОтветитьI tried the create method but it returns an error saying
MongoNotConnectedError: Client must be connected before running operations
Any help?
I have followed this tutorial and the next day I wanted to continue but somehow when I go node demo.js my terminal doesnt connect and nothing happens even though I added an ip address of my new location and connect link including my password and username is still present. Do you have any idea why I might not be able to connect to mongoDb through my terminal?Thanks in advance.
Ответитьusername in plaintext in the code is vulnerability
ОтветитьSuper helpful video, imposter syndrome inducing but super helpful! Thank you!
ОтветитьGood Job. Thanks!
ОтветитьThanks for sharing! it's a very good tutorial!
ОтветитьWow! I learned a lot with this video 😁Mongo is my first choice right now, using MERN technic. It's been 1 year but still a very good video! Thank you so much Lauren Schaefer and MongDB team!!! Wish you best!
Hugs from Portugal 🧡🧡🧡🧡
Great Explanation <3
ОтветитьLove to see more on mongoose rather mongoclient, Thanks
Ответитьhelpful video, Love the way Lauren explained in the video with the examples, Thanks Lauren and MongoDB team
ОтветитьI have databases in my cluster but I'm getting empty array for list of databases. Can anyone help me onthis
ОтветитьThanks for a tutorial.
ОтветитьHonestly this video helped me so much, I was stuck but now able to move on. Thanks alot and I definetely will watch your videos you explain in detail Keep up the good work....
ОтветитьGreat video, thank you!
Ответитьhow to update by id?
ОтветитьWith the magic of edition I magically got lost 😓
ОтветитьTypeError: client.db(...).admin(...).listDataBase is not a function ... this video is out of date :)
ОтветитьThanks a lot, Lauren!👏
ОтветитьI'm encountering a bug when executing the document insertion code.
MongoServerSelectionError: EC230000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1586:SSL alert number 80
at EventTarget.<anonymous> (E:\Pour_Ades\Tutorial2\node_modules\mongodb\lib\sdam\topology.js:276:34)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:807:20)
at EventTarget.dispatchEvent (node:internal/event_target:742:26)
at abortSignal (node:internal/abort_controller:369:10)
at TimeoutController.abort (node:internal/abort_controller:391:5)
at Timeout.<anonymous> (E:\Pour_Ades\Tutorial2\node_modules\mongodb\lib\utils.js:1010:92)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7) {
reason: TopologyDescription {
type: 'ReplicaSetNoPrimary',
servers: Map(3) {
'ac-ayeezbh-shard-00-02.foscwbb.mongodb.net:27017' => [ServerDescription],
'ac-ayeezbh-shard-00-00.foscwbb.mongodb.net:27017' => [ServerDescription],
'ac-ayeezbh-shard-00-01.foscwbb.mongodb.net:27017' => [ServerDescription]
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: 'atlas-p1a8yw-shard-0',
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined,
[Symbol(errorLabels)]: Set(0) {},
[cause]: MongoNetworkError: EC230000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1586:SSL alert number 80
at connectionFailureError (E:\Pour_Ades\Tutorial2\node_modules\mongodb\lib\cmap\connect.js:379:20)
at TLSSocket.<anonymous> (E:\Pour_Ades\Tutorial2\node_modules\mongodb\lib\cmap\connect.js:285:22)
at Object.onceWrapper (node:events:629:26)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
[Symbol(errorLabels)]: Set(1) { 'ResetPool' },
[cause]: [Error: EC230000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1586:SSL alert number 80
] {
library: 'SSL routines',
reason: 'tlsv1 alert internal error',
code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'
}
}
}
MongoDB looks just as easy as Mongoose. I should have learned MongoDB instead of Mongoose.
ОтветитьI'm running this exact code and it's throwing errors? Is it a filepathing error?
Ответить