php mongodb options distinct query code example Example: mongodb distinct Db.collection.distinct('searchField')