I watched this video few months ago and It was so difficult to understand but I'm happy I comprehend it now. Thank you, Anthony, for what you do for the Flask community.
Great video as always. keep up the good work. I have two questions 1) When using 'joined' lets say in your example and I want to print these fields in a template, do I still have to write a double for loop to access Pet's fields ? 2) I have DebugToolbar installed and I have noticed that too many queries are executed. I think that you showed how to we can fix this but I cannot find the video.
Yeah, if you're starting from an arbitrary person and you want to get their pets, then you'll need two loops. For too many queries being executed, it depends completely on which queries are being executed and why. It's solved more by moving the queries around or removing them completely.
A question please : whene using lazy dynamic : an appenderquery isnt the same as a base query , why dont they make a pagination for AppenderQuery to use it as we can use it for BaseQuery , that will be good is there any way to use pagination on a relation when lazy=dyanmic ? thank you for your amazing help
hey man, first off, thank you for your video, it's very informative. but i wonder if you can help me with something, what if i wanted to fetch a pet, with it's owner, how can it be done?
Join my free course on the basics of Flask-SQLAlchemy: prettyprinted.com/flasksql
Amazingly clear!! This is the only place that I can understand what Lazy Parameter is all about!!
I watched this video few months ago and It was so difficult to understand but I'm happy I comprehend it now. Thank you, Anthony, for what you do for the Flask community.
so much clearer than the sqlalchemy documentation. thank you for this
You're welcome!
I was looking for such a detailed tutorial. Thank you so much
Just sending my thanks from 2022!
Thank you so much for your videos! Hours of reading documentations, but you can answer my questions in a few minutes. 🥰
Hi! Thanks for the explanation, it really helped!
Thanks for the video, I was struggling to understand this before and now it is crystal clear.
I'm glad I could help. Thanks for watching.
I am new to this but I understood it well. Thank you!
Thanks for watching!
You are heaven sent man!!!
Thanks for watching!
Hi, How can I show the names of pets of one person? Thanks a lot, your videos are of great help.
Can't believe Arnold Schwarzenegger is teaching me awesome Flask tutorials!
haha thanks for watching
Thank you so much
Great tutorial!
Thanks for watching!
Can you please make a video on uselist parameter and share it across. Thanks in advance
Great video
Thanks!
Too good
Great video as always. keep up the good work. I have two questions 1) When using 'joined' lets say in your example and I want to print these fields in a template, do I still have to write a double for loop to access Pet's fields ? 2) I have DebugToolbar installed and I have noticed that too many queries are executed. I think that you showed how to we can fix this but I cannot find the video.
Yeah, if you're starting from an arbitrary person and you want to get their pets, then you'll need two loops.
For too many queries being executed, it depends completely on which queries are being executed and why. It's solved more by moving the queries around or removing them completely.
Ok, two loops it is. I mean that I see the same query executing as many times as the results
Any answer to my last question ?
Hey, sorry for the delay. I answer comments in bulk every few days. Could you send me an example so I could take a look? anthony@prettyprinted.com
Any clue ? anyone ? I think you made a video about this but I can't find it
A question please :
whene using lazy dynamic :
an appenderquery isnt the same as a base query , why dont they make a pagination for AppenderQuery to use it as we can use it for BaseQuery , that will be good
is there any way to use pagination on a relation when lazy=dyanmic ?
thank you for your amazing help
hey man, first off, thank you for your video, it's very informative. but i wonder if you can help me with something, what if i wanted to fetch a pet, with it's owner, how can it be done?
Hey ! I see that you are using wsl , do you figure out a way to use venv setup in wsl on windows ? So that sublime text can work with that venv
I haven't look into combining the two yet.
Pretty Printed if you find a solution do post a video about it