Skip to content

If a model has a composite key, it requires the query to have both to do a query #114

@baopham

Description

@baopham

Setup:

    protected $primaryKey = 'id';
    protected $compositeKey = ['id', 'position'];

If you then do:

    $data = ExtendedDynamoDbModel::where('id', $id)->get();

This ends up calling a Scan rather than a Query.

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