daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $project: {
  2.     version: {
  3.         $cond: [ {$or : [ { $eq: [ "$subType", "VALIDATED"] },
  4.                             { $eq: [ "$subType", "PROPOSED"] }
  5.                                  ] },
  6.                                  "$version",
  7.                                  "null" ] }  
  8.     }
  9. }
RAW Paste Data
Top