Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Getting just number of rows for queryΒ #72

Open
@pdobrev

Description

@pdobrev

Is there any way to obtain only the number of rows using DataMapper.query?

The documentation for DynamoDB suggests using the Select query option (https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html#DDB-Query-request-Select), but it does not seem to be available in the QueryOptions interface.

Should one use the aws-sdk API for such functionality, or is it somehow available using DataMapper (or if not, is it planned)?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or enhancement. May require GitHub community feedback.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions