Closed alingse closed 2 years ago
objs = append(objs, arrayObj)
rows = append(rows, temp)
Testing --
AssertEqual(msg, args...any)
DB --
values = append(values, primaryKeys)
db.Where(c.col+" IN ?", values)
🆗 find at least 21 bugs in the real world's code. this is done.
Real Bug Found (up to 20)
Not Bug
Json array or table
objs = append(objs, arrayObj)
rows = append(rows, temp)
https://github.com/odpf/meteor/blob/main/plugins/extractors/bigquery/bigquery.goTesting --
AssertEqual(msg, args...any)
DB --
values = append(values, primaryKeys)
https://github.com/go-gorm/gorm/blob/master/migrator/migrator.go#L201db.Where(c.col+" IN ?", values)
https://github.com/erda-project/erda-infra