Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.3k 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
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.1k users

Browse Categories