[Flask] Flask-sqlalchemy and testing

Gabor Szabo gabor at szabgab.com
Mon May 17 01:20:30 EDT 2021

On Sun, May 16, 2021 at 1:19 PM Samuel Freeman <samuel.freeman at gmail.com>

> Hello,
> Thanks both for the above, helps towards my understanding of how some of
> these things work : )
> with apologies for going a bit off topic, it was Gabor's final comment
> that sparked my reply - I also hope to oneday figure out how/why the
> different patterns work
> I have never found the
>     Counter.query.all()
> way of calling to work in my apps, instead relying on the
>     db.session.query(Counter).all()
> way...
As far as I can tell the former is provided by flask-sqlalchemy, the latter
is plain SQLAlchemy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/flask/attachments/20210517/47a42696/attachment.html>

More information about the Flask mailing list