[BangPypers] SQLAlchemy and 'non-trivial' default values for a column

Sriram Karra karra.etc at gmail.com
Tue Feb 12 07:35:23 CET 2013


On Tue, Feb 12, 2013 at 11:38 AM, Dhruv Baldawa <dhruvbaldawa at gmail.com>wrote:

> try session.query(Consultation).filter_by(), sorry I am actually used to
> using the above specified syntax because I usually use Flask-SQLAlchemy.


Oh, well. the session object is not available inside Consultation class.
And as I mentioned I have two session objects of which one is live at any
given time...


More information about the BangPypers mailing list