Ver Fonte

PgSqlRowsToInerface

lhs há 4 anos atrás
pai
commit
b7287de4b8
1 ficheiros alterados com 2 adições e 0 exclusões
  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