소스 검색

In loadSafely print rows to be updated or inserted

Andrej 1 개월 전
부모
커밋
5a01eab7a7
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      importXLSX.py

+ 4 - 0
importXLSX.py

@@ -440,10 +440,14 @@ def loadSafely(pars,entries,dryRun=True):
         
    n=len(updateRows)
    print(f'Updating {n} entries')
+
+   print(updateRows)
+
    if n and not dryRun:
       printErr(db.modifyRows('update',project,schema,query,updateRows))
    n=len(insertRows)
    print(f'Inserting {n} entries')
+   print(insertRows)
    if n and not dryRun:
       printErr(db.modifyRows('insert',project,schema,query,insertRows))