Thank you for opening my mind and helping me understand all this. As I come from the SQL world it helps a lot that you just put those SQL queries as a reference for certain mongo queries. thanks again! Good job Tim!
kinda scary that i was looking for these tutorials on Mongo yet found zero of 'em on this website, and then behold. My mentor, tim, uploads what i need :) Thank you Tim.
I really like the style of you writing every example as a function, so you only need to run the function once, and then can continue demonstrating things without deleting the older code.
@@danielhaycraft7004 Agree. The only thing I would have done differently is comment out the calls to the functions rather than delete them. As someone totally new to python (today!) I didn't pick up on that at first and wondered what was happening with the other functions as Tim introduced new functions. I'm so new to python I had to ggole how to comment out code! This is a great video as all I want to create is a quick API back end server to service my angular front end. I've seen routing in another video so should be soon good to go. Thanks Tim.
12:06 in python if you want a long string split up into to 2 lines because of a styling convention without envoking extra characters like newlines you can use round brackets(): string = "This is the whole string value" string = ("This is the" "whole string value")
i was wondering why you imported bson everytime instead of doing it once, but it makes sense when someone may skip through. unless there's a different answer to mine ! i love it!
Hey Tim, count1=person_collection.find().count() I stumbled upon it: AttributeError: 'Cursor' object has no attribute 'count' is this happening because of version ?
I really don't know how you do that but I was working on a flask application which I want to transform its database from sql to mongodb and really struggling and now you are making a video about mongodb. you are really 🐐 man damn. Thank you for all your effort
Thank you for this fantastic video! I have to say, the SQL queries are much more succinct than the queries using NoSQL. But I understand NoSQL could be useful and a better option in some situations.
That's what i thought too, i like this but SQL feels more seamless, but I love the mongo compass! Definetly better than using PostgreSQL on the command line lol!
Hi @Tech with Tim , as per 31:33 I am getting error count = person_collection.find().count() AttributeError: 'Cursor' object has no attribute 'count' please give a fix
In the last example (53:34) you are not using the ObjectId _id despite defining it, but only the String id. Was this on purpose? What is better practice? Anyway, thank you a lot for this great video, it really helped me :).
I noticed that as well, plus value of field "_id" in entries of the new 'address' collection is also a plain string rather than of type ObjectId. I assume Tim forgot to convert the latter and also to use the created _id for the field 'owner_id'.
Tim congrats! I'm not sure why I'm having issues with "sll:certificate_verify_failed" but this trick sorted my issue: client = MongoClient(connection_string, tls=True, tlsAllowInvalidCertificates=True) If anyone have different solution it would be much appreciated.
Try to create the mongo user again and assign the new userid and password which should work. Why: I don't know, it might the MongoDB free account behaving this way for any refreshes.
Great work here Tim, however I have been gollowing your tutorial to the letter and I keep getting pymongo.error: Bad auth {Authentication failed, 'code' : 8000, 'codeName' : 'AtlasError'} Frustrated and annoyed, I even checked to see that on password I removed < and > which is common mistake. But still I can not connect with Vscode. Frustratingggg!!! 😡😡😡😡
Thanks Tim for your tutorials, they have been of great help to me! I have a request...you could make a video to explain how to upload and view an image on the database? You are great💪🏻
Great video! maybe next time use practical names instead of "test". Makes it a little more difficult to wrap my head around when you have something like "test.test"
Thank you Tim, awesome video! However, I ran into a problem connecting to the newly made MongoDB. I got the following error: [SSL: CERTIFICATE_VERIFY_FAILED] I worked around the problem by setting "tlsinsecure" to True. However is there a better way to fix this? Running python 3.10 and MongoDB is on Azure in Europe
Thank you Tim for this amazing video but i have et question when should we use NoSql db instead of Sql db. i mean in which kind of projects is it better to use NoSql db.
heads up for anyone who gets errors like "[SSL: CERTIFICATE_VERIFY_FAILED]", i had to pip install certifi and import it into the file, then pass it to the MongoClient like MongoClient(CONNECTION_STRING, tlsCAFile=certifi.where())
pymongo.errors.OperationFailure: bad auth : authentication failed, full error: {'ok': 0, 'errmsg': 'bad auth : authentication failed', 'code': 8000, 'codeName': 'AtlasError'} I am getting this error when i am trying to display all my databases. Can anyone help me?
the best starter tutorial for mongo with python, thank you Tim
Thank you for opening my mind and helping me understand all this. As I come from the SQL world it helps a lot that you just put those SQL queries as a reference for certain mongo queries. thanks again! Good job Tim!
THANK YOU for not saying, "Without further ado." Bless you my, dude. Great tutorials.
Thank you, Tim, congratulations on this partnership!
Thank you!
@@TechWithTim hello can you help me?
kinda scary that i was looking for these tutorials on Mongo yet found zero of 'em on this website, and then behold. My mentor, tim, uploads what i need :) Thank you Tim.
I really like the style of you writing every example as a function, so you only need to run the function once, and then can continue demonstrating things without deleting the older code.
he's a great teach!
@@danielhaycraft7004 Agree. The only thing I would have done differently is comment out the calls to the functions rather than delete them. As someone totally new to python (today!) I didn't pick up on that at first and wondered what was happening with the other functions as Tim introduced new functions. I'm so new to python I had to ggole how to comment out code! This is a great video as all I want to create is a quick API back end server to service my angular front end. I've seen routing in another video so should be soon good to go. Thanks Tim.
That video about routing may be Tim's also!
Tim is my nigga, helping me learn python, he’s a g
Thank you Tim, your youtube channel has really helped me alot ,especially with my python and web dev skills
12:06 in python if you want a long string split up into to 2 lines because of a styling convention without envoking extra characters like newlines you can use round brackets():
string = "This is the whole string value"
string = ("This is the"
"whole string value")
Perfect just today I started to learning Python
i was wondering why you imported bson everytime instead of doing it once, but it makes sense when someone may skip through. unless there's a different answer to mine ! i love it!
The best teacher is Tim!
Hey Tim,
count1=person_collection.find().count() I stumbled upon it: AttributeError: 'Cursor' object has no attribute 'count' is this happening because of version ?
i have same isssue why is this happen
Loved episode 1, on to episode 2! Thanks Tim, I am learning a lot!
I really don't know how you do that but I was working on a flask application which I want to transform its database from sql to mongodb and really struggling and now you are making a video about mongodb. you are really 🐐 man damn. Thank you for all your effort
FUCK I REALLY COULDN'T BELIEVE
Check out NetNinja video playlist for mongo db it's amazingly beautifully explained
@@sumit180288 definitely will check it out, thank you for recommend
Thanks Tim. This is a great video. I've added more details in replies below.
Great video Tim and congrats on the sponsorship.
Thank you very much for this video it is really very simple to understand. Can you make a video on how to create a superuser
God Bless you,
May he enlight all your endeavours in live,
may you live 200 years for the sake of humankind.
Thank you Kindly, my fellow friend.
Thank you for this fantastic video! I have to say, the SQL queries are much more succinct than the queries using NoSQL. But I understand NoSQL could be useful and a better option in some situations.
That's what i thought too, i like this but SQL feels more seamless, but I love the mongo compass! Definetly better than using PostgreSQL on the command line lol!
Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu u get this from girl who is hard to connect mongodb and Django
Amazing about this partnership, you deserve it!
Great Video! Thank you, Tim and MongoDB for the great tutorials.
Congrats on the sponsor bro, keep it up 👍
Hi @Tech with Tim , as per 31:33 I am getting error
count = person_collection.find().count()
AttributeError: 'Cursor' object has no attribute 'count'
please give a fix
I have this problem too
Tim is Great - Based on true History hahaha you are great Tim!!
In the last example (53:34) you are not using the ObjectId _id despite defining it, but only the String id. Was this on purpose? What is better practice?
Anyway, thank you a lot for this great video, it really helped me :).
I noticed that as well, plus value of field "_id" in entries of the new 'address' collection is also a plain string rather than of type ObjectId. I assume Tim forgot to convert the latter and also to use the created _id for the field 'owner_id'.
yey Tim i really love yout content, can u make a video about socket with server and client with proxy server
Tim congrats! I'm not sure why I'm having issues with "sll:certificate_verify_failed" but this trick sorted my issue:
client = MongoClient(connection_string, tls=True, tlsAllowInvalidCertificates=True)
If anyone have different solution it would be much appreciated.
Try to create the mongo user again and assign the new userid and password which should work. Why: I don't know, it might the MongoDB free account behaving this way for any refreshes.
Thanks this worked for me
Great work here Tim, however I have been gollowing your tutorial to the letter and I keep getting pymongo.error: Bad auth {Authentication failed, 'code' : 8000, 'codeName' : 'AtlasError'}
Frustrated and annoyed, I even checked to see that on password I removed < and > which is common mistake. But still I can not connect with Vscode.
Frustratingggg!!! 😡😡😡😡
Please make video about The Zen of Python
Haven't seen it yet, but i bet its a nice tutorial
why do you use .env and then add several lines of code when you can simply add those into .bashrc file and source it ?
can you please make more videos on mongodb with python and sql?
Thank you so much!
Fantastic video
Thanks Tim for your tutorials, they have been of great help to me! I have a request...you could make a video to explain how to upload and view an image on the database? You are great💪🏻
Great video! maybe next time use practical names instead of "test". Makes it a little more difficult to wrap my head around when you have something like "test.test"
Gold!
Just perfect !!!
is beanie a good ODM for mongodb in python?
Great video! :)
Thank u!
Thank you! I enjoyed this video a lot. Unfortunately you said the A-word at 54:09 and my mom heard you so my mom said i can't watch anymore :(
Thank you Tim, awesome video! However, I ran into a problem connecting to the newly made MongoDB.
I got the following error: [SSL: CERTIFICATE_VERIFY_FAILED]
I worked around the problem by setting "tlsinsecure" to True. However is there a better way to fix this?
Running python 3.10 and MongoDB is on Azure in Europe
any solutions @Pjotterbolte
Thank you Tim for this amazing video but i have et question
when should we use NoSql db instead of Sql db. i mean in which kind of projects is it better to use NoSql db.
48:00 but why do we embedd it?. Like coudlnt we just write
Street :""
Number:123
and so on
I just got here by accident but shouldn't these functions be asynchronous? I'm an js enthusiast BTW
'zsh: no matches found: pymongo[srv]'. Could someone please tell me why I'm getting this error?
enclose within quotes
@@tarunreddy7 Thank you I was looking for this!
Can we use mongoose with python/django?
you could simply do `load_dotenv()`, and it automatically finds your .env file.
Thx a lot one more time
Can you do a create where you create game like street of rage please?
how does vscode auto complete like that ?
Great tutorial, I am having a hard time loading the dotenv file it is installed but it won't load up
Hey, I was having the same issue, make sure you saved (ctrl + s) the env. txt file after updating it with pwd.
No need to use dotenv you can use password directly, he has used this to hide his password
I actually love keyring for this.
I am getting error at7:56 while typing "pip install pymongo" please help
pip3 install pymongo
Can you share the code please ? It will be helpful for me :D
I found Sql is more handy with Java
Which password to use in 13:28?
i'm having the same question, please tell me if you figured it out
heads up for anyone who gets errors like "[SSL: CERTIFICATE_VERIFY_FAILED]", i had to pip install certifi and import it into the file, then pass it to the MongoClient like MongoClient(CONNECTION_STRING, tlsCAFile=certifi.where())
Oh it's just code, i thought i had also relationship advices lol
what are the best databases to use with python
pin me, cuz i am subbed to your channel.
I wonder if the MongoDB user database is built with MonogoDB 🤣
Most of his code doesn't work on 2023, save your time
Music is too loud we have difficulty to hear you
Warning: this video contains lots of "Test" !
pymongo.errors.OperationFailure: bad auth : authentication failed, full error: {'ok': 0, 'errmsg': 'bad auth : authentication failed', 'code': 8000, 'codeName': 'AtlasError'}
I am getting this error when i am trying to display all my databases. Can anyone help me?
im getting this error
pymongo.errors.ServerSelectionTimeoutError help me!!!!