$rename operator #107

Closed
rickhuizinga opened this Issue Mar 11, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@rickhuizinga

Any chance on implementing MongoDB's $rename update operator? It simply renames a specified field in a document.

In order to rename a field, using this operator within a call to db.update(...) would be much simpler than writing a small program to iterate through a collection to $set & $unset a field.

@tyutyunkov tyutyunkov self-assigned this Jan 12, 2015

adamansky added a commit that referenced this issue Feb 6, 2015

@adamansky adamansky closed this Feb 6, 2015

adamansky added a commit that referenced this issue Feb 6, 2015

@adamansky

This comment has been minimized.

Show comment
Hide comment
@adamansky

adamansky Apr 28, 2015

Member

$rename is not supported on nested fields.

Member

adamansky commented Apr 28, 2015

$rename is not supported on nested fields.

@adamansky

This comment has been minimized.

Show comment
Hide comment
@adamansky

adamansky Apr 29, 2015

Member

Fixed

Member

adamansky commented Apr 29, 2015

Fixed

@adamansky adamansky closed this Apr 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment