Closed leedy closed 4 years ago
View itemView = itemDB.getView("xAttach"); DocumentCollection collect = itemView.getAllDocuments(); System.out.println("Migrating : " + collect.getCount());
Assuming "xAttach" is a folder and not a view. This code returns all the documents in the database and not the folder itself.
View itemView = itemDB.getView("xAttach"); DocumentCollection collect = itemView.getAllDocuments(); System.out.println("Migrating : " + collect.getCount());
Assuming "xAttach" is a folder and not a view. This code returns all the documents in the database and not the folder itself.