Is this type of indexed query available in Amazon's DynamoDB?
(Where the field being searched against is a collection of values?)
Example object being indexed:
Restaurant: {
name: 'Bobs Burgers'
menu: ['hamburger', 'hotdog', 'lasagna']
}
Example pseudo-query:
SELECT * FROM restaurants WHERE menu='hamburger'
( or perhaps: 'hamburger' in menu )
Also:
There is no index to find a value in a list. You can use a filter, but it won't be index-optimized. See How to query DynamoDB filtering by value in a list
Alex DeBrie's YouTube channel has videos on getting started with DynamoDB: https://www.youtube.com/channel/UC8uIi5eIEI2_NZGTyPXTnLA