private BSONObject commandDrop(BSONObject query) throws MongoServerException {
String collectionName = query.get("drop").toString();
MongoCollection collection = collections.remove(collectionName);
if (collection == null) {
throw new MongoSilentServerException("ns not found");
}
BSONObject response = new BasicBSONObject();
namespaces.removeDocument(new BasicBSONObject("name", collection.getFullName()));
response.put("nIndexesWas", Integer.valueOf(collection.getNumIndexes()));
response.put("ns", collection.getFullName());