I am trying to show distinct values of two fields. Not sure it is possible to return values from the two fields in my Mongodb.
I have tried this:
db.sInsert.distinct("post_id","post_message").
But it is not possible to do so.
I am trying to show distinct values of two fields. Not sure it is possible to return values from the two fields in my Mongodb.
I have tried this:
db.sInsert.distinct("post_id","post_message").
But it is not possible to do so.