Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defect/indexeswithoutsksincorrectindexes (#20)
* adding patch and create methods. both automatically add ConditionExpressions to either make sure the record exists before updating (patch) or make sure the record doesnt already exist (create) * adding tests, not full working right now * query had a defect preventing queries from being ran on tables without an sk. yikes. * bumping version * readme improvements * when the primary pk and sk were part of a collection, scan did not correctly add the collection name to the key structure * removing debug file and console log from test * indexes without SKs would not have properly formatted keys. Before this commit, electro relied on the SK as the only means to segregate entities. With this change, if only an PK is present, the entity name will be place in the PK
- Loading branch information