Hi,
For some reason, I need to access my sqlite database through an API which
encapsulates the sqlalchemy stuff.
In my api methods, the typical sequence is:
1. get a session from the session maker
2. query/commit the db using this session
3. return the queried/commited object and close
On May 24, 2012, at 10:02 AM, pr64 wrote:
Hi,
For some reason, I need to access my sqlite database through an API which
encapsulates the sqlalchemy stuff.
In my api methods, the typical sequence is:
get a session from the session maker
query/commit the db using this session
return the
Worked perfectly. Thanks a lot for your quick answer and so great software.
Le jeudi 24 mai 2012 16:45:50 UTC+2, Michael Bayer a écrit :
On May 24, 2012, at 10:02 AM, pr64 wrote:
Hi,
For some reason, I need to access my sqlite database through an API which
encapsulates the sqlalchemy