Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2542

Issue with collection drop

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ubuntu 16 lts

    Description

      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

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            pedrumj pedrum jalali
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: