electrodb
Advanced tools
Changelog
[2.10.1]
upsert
now supports add
, subtract
, append
, set
, and ifNotExists
operations. Addresses Issue #301.Changelog
[2.10.0]
upsert
method now supports add
, subtract
, append
, set
, and ifNotExists
operations. Addresses Issue #286.add
and subtract
operations provided to the data
callback operation with update
and patch
methods now supports a third parameter for supply a defaultValue. Addresses Issue #297.field
that allows for references to raw field names as they exist in the table. This can be used with escape
and value
to create custom filter expressions.Changelog
[2.9.3]
2.9.2
. The composite()
method no longer allows for attribute_not_exists()
.watch
, and were not provided to the create
or put
methods, were not property applied to their composite keys. This addresses the issue brought forward in discussion #292.Changelog
[2.9.2]
composite()
method for update
and patch
now adds a condition expression that allows for cases where the composite attribute doesn't exist. Prior to this change the condition used a strict equals check on the attribute value (e.g. #prop1 = :prop1
). This change now revises that expression to (#prop1 = :prop1 OR attribute_not_exists(#prop1))
.Changelog
[2.9.1]
2.9.0
was accidentally published without the dependency @aws-sdk/lib-dynamodb
Changelog
[2.9.0]
composite()
method for update
and patch
operations. The composite
method is used to help electrodb complete and format keys when updating a subset of the key's composite attributes. Prior to this update, updating a key partially resulted in an invalid query error, which caused difficulties when some composite attributes were flagged as readOnly. [read more]Changelog
[2.8.2] - 2023-08-19
field
name when it was updated via watch
.Changelog
[2.8.1] - 2023-08-06
Changelog
[2.8.0] - 2023-08-06
cast
option for indexes to allow users to cast index values to a different type than their composite attribute. This change comers from a user requested feature and addresses issue #237ignoreOwnership
from correctly gating return recordsChangelog
[2.7.2] - 2023-07-03