Skip to content

Attributes is mandatory in a query #4

@lazywithclass

Description

@lazywithclass

As in

var query = new Jedlik()
    .tablename('TABLENAME')
    .hashkey('id', 'HASHKEY-VALUE')
    .rangekey('range', 'RANGEKEY-VALUE')
    // HERE!
    .attributes(['id', 'range', 'value-index'])
    .query();

Check if it should have at least one item.
Is it feasible to just create an empty AttributesToGet object if not attributes is passed without failing? (like SELECT * in SQL)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions