Issue with collection drop

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      ubuntu 16 lts
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      so I have a piece of code for dropping collections. It works on windows but not when its run in ubuntu.

       MongoDatabase database;
              database = mongoClient.getDatabase("mydb");
              MongoCollection<Document> _col =       database.getCollection("collName");
              _col.drop();
              mongoClient.close();
      
      

      I think it might be a bug

      Thanks
      Pedrum

            Assignee:
            Ross Lawley
            Reporter:
            pedrum jalali
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: