I have a MongoDB and I want to get two records or more records and put this in a map. The code below works ok if I have just one query.put(ïd", "7"); ...
query.put(ïd", "7");