Sorry for the technical question. If all() is called, are all rows returned from the database to the DB client? I see the 'filter()' call below, but I want to make sure that the filtering happens on the DB side and not on the DB client side....

I just would like you to confirm that - in terms of performance - that these two are the same:

users = User.objects.all()
users = users.filter(....)

and 

users = User.objects.filter(...)