liquibase-mongodb icon indicating copy to clipboard operation
liquibase-mongodb copied to clipboard

updateMany feature and rename fields in current data

Open isalciuc opened this issue 1 year ago • 1 comments

Hi,

I'm able to run this command from console, but didn't find a way to run it from Liquibase:

db.portfolio.updateMany( {}, { $rename: { "header.oldName": "header.newName" } } )

isalciuc avatar Oct 05 '23 07:10 isalciuc

seems this is still not avaialble with liquibase. try using runCommand.

alexfern252 avatar Nov 06 '23 12:11 alexfern252