fix: sor.R() 3rd arg → sqlExe with ORDER BY
This commit is contained in:
parent
59e56b5e9c
commit
f172889fbb
@ -21,7 +21,7 @@ async def get_pipeline_steps(pipeline_id: str) -> list:
|
||||
"""
|
||||
db, dbname = _get_db()
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
recs = await sor.R('pipeline_steps', {'pipeline_id': pipeline_id}, sort='step_order')
|
||||
recs = await sor.sqlExe('SELECT * FROM pipeline_steps WHERE pipeline_id=${pid}$ ORDER BY step_order', {'pid': pipeline_id})
|
||||
if not recs:
|
||||
return []
|
||||
result = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user