摘要:
按照sqlalchemy的文档中关于sqlalchemy的session在web应用上下文的生命周期应该是:Web Server Web Framework User-defined Controller Call-------------- -------------- ------------------------------web request -> call controller -> # call Session(). this establishes a new, # contextual Session. session = Session() # load so 阅读全文