Skip to content

No examples of Query partition and sort key using Dyanmodb Enhanced client  #2143

@tkindra2

Description

@tkindra2

The example code and documentation does not provide example of how to query table or index with sort key. I am looking for example where key=X and sort key between A and B. This seems like basic use case but i have spent hours trying to figure out.

Describe the issue

If you look at example below and assume the sort key is regDate. how will you query Id= X and regDate between 2020-01-01 and 2020-11-01?

https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/EnhancedQueryRecords.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions