Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
An e-commerce platform needs to update multiple products after a bulk sale. Which MongoDB operation would efficiently decrease the quantity by 5 for products with less than 20 units in stock, while also adding a 'low_stock' flag?Computer scienceSoftware development foundationsSQL and databasesDBMSMongoDBOperations and operatorsCRUD operations
Update operations
Bulk update bonanza for low-stock items
Report a typo
Select one or more options from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.