Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I want to use regex when I query a table. I tried to use it under KeyConditionExpression, but it isn't valid. Is there any way to do it with DynamoDB?

For example, my primary key is a string, and I want to get all the items that start with an A. The KeyConditionExpression expression would look like "someKey = /^A/"

1 Answer

0 votes
by (44.4k points)

DynamoDB doesn't support regex. 

Check this documentation for more information.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories

...