shoringfan10
shoringfan10
Hi @TossShinHwa, many thanks for your quick reply! It seems working well before I add following new orderItems to the collection, `{"orderItems":[{"quantity":1000,"product":{"id":"item777","name":"ITEM7","price":10}},{"quantity":2000,"product":{"id":"item888","name":"ITEM8","price":15}},{"quantity":3000,"product":{"id":"item999","name":"ITEM9","price":20}}],"custom":{"id":"xyz123","name":"XZY"}} ` In this case, if I query, `GET...
Thanks for the reply! but I met a small problem with const { price }, ``` const { price } = req.query; ^ SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16)...
Hi ! The ES5 syntax seems working, whereas the query cannot get a result in my test.. `GET orders(316efd3f-0b30-4ad1-ac22-2640a613142e)/all-item-greater?price=10` The response, `Cannot GET /orders(316efd3f-0b30-4ad1-ac22-2640a613142e)/all-item-greater?price=10` The data, I assume ACTION should...