electrodb
Advanced tools
Changelog
[1.6.0] - 2021-11-21
ElectroError
and ElectroValidationError
message
of the error thrown by a validation function was persisted back through to the user, now the error itself is also accessible. Reference the exported interface typedef for ElectroValidationError
here to see the new properties available on a thrown validation error.get
, set
, and validate
are now consistently given an Array of values. These functions would sometimes (incorrectly) be called with a DynamoDB DocClient Set.Changelog
[1.5.0] - 2021-11-07
limit
has an extended meaning with the change to automatically paginate records on query. The option limit
now represents a target for the number of items to return from DynamoDB. If this option is passed, Queries on entities and through collections will paginate DynamoDB until this limit is reached or all items for that query have been returned. [read more]pages
has been added to coincide with the change to automatically paginate all records when queried. The pages
option sets a max number of pagination iterations ElectroDB will perform on a query. When this option is paired with limit
, ElectroDB will respect the first condition reached. [read more]Changelog
[1.4.8] - 2021-11-01
Changelog
[1.4.7] - 2021-10-20
add()
update mutation now resolves to ADD #prop :prop
update expression instead of a SET #prop = #prop + :prop
Changelog
[1.4.6] - 2021-10-20
ignoreOwnership
being used.Changelog
[1.4.5] - 2021-10-17
Changelog
[1.4.4] - 2021-10-16
set
on update method calls in case the update results in an item insert. [read more]Changelog
[0.11.1] - 2021-10-17
set
on update method calls in case the update results in an item insert. [read more]