In my Meteor application, I have a File System collection of CSVs declared as shown below:
Uploads = new FS.Collection("yourFileCollection", { stores: [new
FS.Store.FileSystem("yourFileCollection", {path: "~/meteor_uploads"})]
});
I am trying to iterate through each CSV file stored in the collection to retrieve their unique paths (paths that correspond to how each CSV was uploaded by a user). Is it feasible to achieve this task? Do I need to make modifications to my existing code? And if so, how can I effectively loop through all the CSV files in the Collection to access them and perform actions on each one?
Note: The loop will be integrated into the event function listed below, triggered when a submit button is clicked:
'click #parseUploads': function (event) {
}