I’m running a query in mongo using php like this: $column =’address.roadname’; (new MongoDBClient())->db->mycollection->distinct($column,[],[‘$sort’=> [$column => 1]]); The query …
I’m running a query in mongo using php like this: $column =’address.roadname’; (new MongoDBClient())->db->mycollection->distinct($column,[],[‘$sort’=> [$column => 1]]); The query …