electrodb
Advanced tools
Changelog
[2.3.0] - 2022-11-22
upsert
. Upsert is similar to put
in that it will create a record if one does not exist, except upsert
perform an update if that record already exists.Changelog
[2.2.6] - 2022-11-10
Changelog
[2.2.4] - 2022-11-06
data
method.get
operations. DynamoDB get
does not allow for filtering but the TransactWrite/TransactGet methods allow for ConditionCheck
which is essentially get
+ conditions
.Changelog
[2.2.3] - 2022-11-05
2.2.2
. The type of record coming back from an update is more complex than one might expect. Because update operations can result in a record insert, the response type is not necessarily a TableItem. I am backing out this change for now until I can be more sure of an appropriate typing.createCustomAttribute
(now depreciated) because of the unfortunate widening caused by the initial implementation. [read more)]createCustomAttribute
is now deprecated. The function still operates as it did, though any changes related to Custom Attribute types will see development focused on CustomAttributeType
rather than this function.Changelog
[2.2.2] - 2022-11-04
all_new
or all_old
response options are passed~Changelog
[2.2.1] - 2022-11-02
Changelog
[2.2.0] - 2022-10-31
setTableName
, getTableName
, setClient
, getClient
.Changelog
[2.1.2] - 2022-10-16
ElectroValidationError
and ElectroError
as classes, so they can be more easily interrogated/triaged by user error handling.update
and patch
operations, the data
method did not properly apply mutation constraints for required
and readOnly
. Data will now correctly throw in a similar manner the to individual mutation methods.