Java Mongodb Aggregate Projection Computed -


i have field in following format :

loc : { geo: {coor: []}} 

i unable fetch field using java com.mongodb.client.mongocollection.aggregate, aggregates.project( projections.fields( projections.computed())) method.

try projections.computed("coor", "$loc.geo.coor")


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -