Support inp out [REPORT]

This commit is contained in:
WQY\qiong
2022-11-18 23:46:51 +08:00
parent 191b270804
commit c0a79f49d8

View File

@@ -0,0 +1,11 @@
from .operation import *
def inp_out_report(name: str) -> list[str]:
lines = []
objs = read_all(name, f"select * from report")
for obj in objs:
key = obj['key']
value = obj['value']
lines.append(f'{key} {value}')
return lines