I've seen a few variations of running a query with SQLAlchemy. For example, here is one version:
posts = db.query(models.Post).filter(models.Post.owner_id==user.id).all() What would be the difference between using the above or using .where? Why are there two variations here?