By shekhargulati
via whyjava.wordpress.com
Submitted: Feb 11 2012 / 06:06
Today I was faced with a situation where in I need to rename a field in all the MongoDB documents. The best way to do this is using $rename operator shown below.



Add your comment