SHARE
TWEET

Mongodb

ArcheontPB Dec 9th, 2019 (edited) 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 1.1
  2. db.cities.find({city:"Pacynków", "reachable_from.city":"Kałużów"}, {"reachable_from.$.city":"Kałużów"}).pretty()
  3.  
  4. https://docs.mongodb.com/manual/aggregation/
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top