[Python - Flask] flask_sqlalchemy 调用存储过程方式
flask_sqlalchemy 与 sqlserver
#代码:通过cursor方式调用 from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() connection = db.engine.raw_connection() cursor = connection.cursor() cursor.callproc('sp_getUsers') for result in cursor.stored_results(): print(result.fetchall())
本文来自博客园,作者:决明子~,转载请注明原文链接:https://www.cnblogs.com/haker01/p/15610119.html