Can I Use ‘Begins With’ on Just the Partition Key?

0
2
Asked By CuriousCat87 On

I'm wondering if it's possible to apply a 'begins with' condition only to the partition key in my query. Any insights or best practices would be really helpful!

1 Answer

Answered By TechieTurtle42 On

You can't use 'begins with' directly on just the partition key. It needs to be part of a combination with the sort key for such operations. But if you're looking for specific key patterns, consider structuring your data to support this type of query.

DataNinja22 -

How would I even set that up? Any tips on structuring my data model?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.