Open inescelorico opened 1 year ago
db.atpplayers.updateMany({"Born":""},{$set:{"Born":null}}) db.atpplayers.updateMany({"Ground":""},{$set:{"Ground":null}}) db.atpplayers.updateMany({"Prize":""},{$set:{"Prize":null}}) db.atpplayers.updateMany({"WL":""},{$set:{"WL":null}}) db.atpplayers.updateMany({"GameRank":""},{$set:{"GameRank":null}}) db.atpplayers.updateMany({"Score":""},{$set:{"Score":null}})
Verify empty values ("") , all fields
db.atpplayers.find({"_id":"-"}).count()
db.atpplayers.find({"PlayerName":"-"}).count()
db.atpplayers.find({"Born":"-"}).count()
320752db.atpplayers.find({"Hand":"-"}).count()
db.atpplayers.find({"LinkPlayer":"-"}).count()
db.atpplayers.find({"Tournament":"-"}).count()
db.atpplayers.find({"Location":"-"}).count()
db.atpplayers.find({"Date":"-"}).count()
db.atpplayers.find({"Ground":"-"}).count()
191db.atpplayers.find({"Prize":"-"}).count()
19136db.atpplayers.find({"GameRound":"-"}).count()
db.atpplayers.find({"Oponent":"-"}).count()
7db.atpplayers.find({"WL":"-"}).count()
19257db.atpplayers.find({"GameRank":"-"}).count()
19236db.atpplayers.find({"Score":"-"}).count()
161db.atpplayers.find({"Height":"-"}).count()