code: public static Map<String, Object> get(CollectionId c, Map<String,Object> search)
      throws NotFoundException, MoreThanOneFoundException {
          ensureOnlyOne(c, search);
  
          DBCollection coll = MongoDBConnectionHelper.getConnection(c.getDatabase()).getCollection(c.getCollection());
          Map<String,Object> m = MongoDBFormat.toMap(coll.findOne(MongoDBFormat.fromMap(search)));
          if(LOG.isDebugEnabled())
              LOG.debug("MongoDB get result ("+c+", search:"+search+"\n\t> "+m);
          return m;
      }
docs: Select exactly one record from collection
  
  @param c
  @param search
  @throws NotFoundException
  @throws MoreThanOneFoundException
  @return