day 237 — code 365
Sun 07 Aug 2016
MongoDB
Spent some time learning more commands, to find a group of items that I would be able to use — with particular properties that I would be able to interrogate / use in testing.
JS
Realising, again, that tiny things make a difference. Was getting stuck in trying to figure out why certain things weren’t working, to eventually discover that they were because of typo’s — missing characters / extra characters, such as:
id={cat.get('_id')}vs:
id={cat.get('id')}
productCategories: state.productCategories.get('data'),vs:
productCategories: state.productCategories,
So unforgiving! (understandably, but still…)