bricks/examples/tableinfo.dspy
2023-09-14 10:28:07 +08:00

7 lines
124 B
Plaintext

db = DBPools()
async with db.sqlorContext('kboss') as sor:
r = await sor.I(params_kw.get('tablename', 'user'))
return r