{
$addFields: {
isFreePoint: {
$cond: [{
"$ifNull": [
"$mgmt_type_id",
false
]
},
false,
true
]
}
}
}
Created
April 23, 2021 01:17
-
-
Save kleysonr/30092f56c9a5b3d5b8827aef69c4c2e0 to your computer and use it in GitHub Desktop.
MongoDB-ref
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment