Reputation: 103
how can i get the value of android for example from the following collection named "appVersions"
_id:5e2973985874e60017da3905
android:9
ios:1
foodTable:1
__v:0
Upvotes: 0
Views: 57
Reputation: 366
You could use db.appVersions.findOne("5e2973985874e60017da3905")
. That will return a document containing an android
property.
Upvotes: 1