MongoDB modify a field name in the table

class:MongoDB views:56 Author:xiaomo314
Command
db.neeq2006.update({}, {$rename : {"FTP_URL" : "PDF_URL"}}, false, true)
Explanation
{$rename: {"FTP_URL": "PDF_URL"}} : update object and some update operators
false : no data is inserted
true : update all records queried by conditions
Operation result
Updated 7517 existing record(s) in 495ms

This platform is gradually under construction, more development orders are gradually included, any questions or Suggestions can be Contact Us