소스 검색

PgSqlRowsToInerface

lhs 4 년 전
부모
커밋
b7287de4b8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      repository/postgres/init.go

+ 2 - 0
repository/postgres/init.go

@@ -71,6 +71,8 @@ func isRecordNotFound(err error) bool {
 		return false
 	}
 }
+
+//todo 请周睿检查一下这个方法
 func PgSqlRowsToInerface(rows pgx.Rows) (tableData []interface{}) {
 	fieldDescriptions := rows.FieldDescriptions()
 	var columns []string