Engines and Connections have an execute()
method you can use for arbitrary sql statements, and so do Sessions. For example:
results = sess.execute('myproc ?, ?', [param1, param2])
You can use outparam()
to create output parameters if you need to (or for bind parameters use bindparam()
with the isoutparam=True
option)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…