This commit is contained in:
yumoqing 2024-11-08 20:33:51 +08:00
parent 7f41c3e498
commit fc7d08a9a7

View File

@ -556,7 +556,6 @@ class SQLor(object):
return desc return desc
desc = {} desc = {}
summary = [ i for i in await self.tables() if tablename.lower() == i['name'].lower() ] summary = [ i for i in await self.tables() if tablename.lower() == i['name'].lower() ]
print(f'{summary=}, {tablename=}, {desc=}')
pris = await self.primary(tablename) pris = await self.primary(tablename)
primary = [i['name'] for i in pris ] primary = [i['name'] for i in pris ]
summary[0]['primary'] = primary summary[0]['primary'] = primary