Does anyone have a sample of how to query for nested/inner objects in MongoDB using NORM (C#)? For example, if a typical document in a collection looks like Order/OrderItems, how can I look up a specific OrderItem by OrderItem.Quantity > 10.
相关问题
- Sorting 3 numbers without branching [closed]
- MongoDB can not create unique sparse index (duplic
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
Typing this from memory, so sorry if it's wildly wrong:
You need to create extra field 'size', that you increment when add new items, and query on it.