Skip to content

creating item from dynamodb-admin GUI always sets attribute to "L" for List/Array and there is no way to set attribute to "SS" (String Set) or any other set #96

Open
@sivnag

Description

@sivnag

eventhough https://github.com/aws/aws-sdk-js/blob/master/lib/dynamodb/document_client.js supports createSet, https://github.com/aaronshaf/dynamodb-admin/blob/master/lib/backend.js does not make use of createSet. There is no option available to control whether the created item's attributes will be Lists or Sets. backend.js simply calls putItem with params
{
TableName,
Item: req.body
}
It would be nice if backend.js checks for "special" param inside req.body and uses that to understand that certain attributes should be converted from Lists to Sets before invokng putItem. Anyother mechanism to control the choice of attributes will also be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions