bricks/examples/tableinfo.dspy

7 lines
124 B
Plaintext
Raw Normal View History

2023-09-14 10:28:07 +08:00
db = DBPools()
async with db.sqlorContext('kboss') as sor:
r = await sor.I(params_kw.get('tablename', 'user'))
return r