liquibase-mongodb
liquibase-mongodb copied to clipboard
How to use Liquibase to update field in MongoDB refer to another field
For example insertOne with { "id": "1",, "updatedDate1": ISODate("2021-06-01T19:06:40Z") "updatedDate2": ISODate("2022-02-22T22:02:22Z") }
I want to update "updatedDate1" with the value of "updatedDate2".
Expected result { "id": "1",, "updatedDate1": ISODate("2022-02-22T22:02:22Z") "updatedDate2": ISODate("2022-02-22T22:02:22Z") }