You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
}
The text was updated successfully, but these errors were encountered:
sirisukjinta
changed the title
How to use Liquibase to update filed in MongoDB refer to another field
How to use Liquibase to update field in MongoDB refer to another field
Mar 7, 2022
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")
}
The text was updated successfully, but these errors were encountered: