You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time Estimate - 2.5 Hours
Time Actual - 4 Hours
Create a delete column button in the UI (probably need to figma it out first)
Create a DELETE /column/:inventoryid to delete a column from an inventory. Column name will be in the body. Follow something like this https://stackoverflow.com/questions/16959099/how-to-remove-array-element-in-mongodb to remove an element(column) from every item in the inventory.
The inventory will have a field called columns that will hold all the column names. First find the index of the column you are trying to remove, then call the update() method on the db.collection.
The text was updated successfully, but these errors were encountered:
Time Estimate - 2.5 Hours
Time Actual - 4 Hours
Create a delete column button in the UI (probably need to figma it out first)
Create a DELETE /column/:inventoryid to delete a column from an inventory. Column name will be in the body. Follow something like this https://stackoverflow.com/questions/16959099/how-to-remove-array-element-in-mongodb to remove an element(column) from every item in the inventory.
The inventory will have a field called columns that will hold all the column names. First find the index of the column you are trying to remove, then call the update() method on the db.collection.
The text was updated successfully, but these errors were encountered: