I have a items in a data store that have a position object. For an array of items in the store, here's a sampling of the position attributes that the items might have:
position : 1
position : 1.1
position : 1.15
position : 1.15.1
position : 1.2.7
position : 2
position : 2.1
While it's easy enough to issue a query to the store for all position 1 items, such as query:{position:'1'}
- returns example 1 above
and it's pretty easy to issue a query for all level 1 items, such as query:{position:'?'}
- returns example 1 and 6 above
