When use the following query:
Foo.query.filter_by(bar="bar")[:20]
Do all the objects that matches the filter get loaded and I only choose the first 20 or are the first 20 objects only get loaded. And if the second, is there a way to load only a specific number of objects ?
Thanks in advance guys.