有了ORM,查询出来的可以不再是tuple,而是 User 对象。SQLAlchemy提供的查询接口如下: # 创建Session: session = DBSession() # 创建Query查询,filter是where条件, ...
確定! 回上一頁