Official repository for the aws-record gem, an abstraction for Amazon DynamoDB.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by aws-sdk-ruby-automation about 2 months ago
Tag release v2.13.2
References: #141
global_secondary_index
to be defined in TableConfig
withoutPublished by aws-sdk-ruby-automation 3 months ago
Tag release v2.13.1
References: #139
batch_read
. (#139)Published by aws-sdk-ruby-automation about 1 year ago
Tag release v2.13.0
References: #138
update_expression
to be passed through to thePublished by aws-sdk-ruby-automation about 1 year ago
Tag release v2.12.0
References: #112, #133, #134, #135, #136
Feature - Allow put, update, and delete item options to be passed through to
the underlying client calls.
Feature - Add an original_error
accessor to Errors::ConditionalWriteFailed
which contains the Aws::DynamoDB::Errors::ConditionalCheckFailedException
error. If :return_values_on_condition_check_failure
was provided to a put,
update, or delete item call, this error will contain the item data that failed
the condition check.
Issue - Fix default value for String/Numeric Sets to be unset. (#133)
Feature - Set required Ruby version to >= 2.3 (#134)
Issue - Run Rubocop on all files. (#135)
Published by aws-sdk-ruby-automation over 1 year ago
Tag release v2.11.0
References: #129, #132
Published by aws-sdk-ruby-automation almost 2 years ago
Tag release v2.10.1
References: #128
Aws::Record::VERSION
constant from the VERSION
filePublished by aws-sdk-ruby-automation almost 2 years ago
Tag release v2.10.0
References: #122
BatchGetItem
operation (#122)Published by aws-sdk-ruby-automation almost 2 years ago
Tag release v2.9.0
References: #80
Published by jterapin about 2 years ago
Published by alextwoods over 3 years ago
References #94
Published by aws-sdk-ruby-automation about 4 years ago
Tag release v2.5.0
References: #106, #108
Feature - - Support queries yielding heterogeneous results using (#107)
Feature - Aws::Record::BuildableSearch
- Support queries yielding heterogeneous results using multi_model_filter
(#107)
Published by aws-sdk-ruby-automation over 4 years ago
Tag release v2.4.1
References: #100, #104, #72, #95
Published by aws-sdk-ruby-automation over 5 years ago
References: #98
Published by awood45 over 5 years ago
References: #91
Published by awood45 almost 6 years ago
References: #89
Published by awood45 almost 6 years ago
Published by awood45 over 6 years ago
References: #84
Feature - Aws::Record::TableConfig - Adds :ttl_attribute
to the TableConfig DSL. When used with epoch_time_attr
attributes or other attributes stored as epoch time, your TableConfig migrations will enable TTL on your DynamoDB table, and will use your specified attribute as the TTL attribute.
Feature - Aws::Record::Marshalers::EpochTimeMarshaler - Adds the epoch_time_attr
, which behaves much like time_attr
except the Amazon DynamoDB storage type is numeric, and the serialized value is epoch seconds.
Published by awood45 over 6 years ago
Feature - Aws::Record - Add the persisted?
, new_record?
, and destroyed?
methods to Aws::Record
, which supports use cases where you'd like to see if a record has just been newly initialized, or has been deleted or was a preexisting record retrieved from DynamoDB. Note that these methods are present in ActiveModel::Model
so you should require that module before Aws::Record
Feature - Aws::Record - Add the assign_attributes
, update
, and update!
methods to Aws::Record
which supports the use case where the user might want to mass assign or update a records attributes by hash. update!
also ensures that a ValidationError
is thrown on an invalid update
Upgrading - If you already include ActiveModel::Model
on your models the new persisted?
, new_record?
and destroyed?
methods will not function properly unless you include ActiveModel::Model
before Aws::Record
. Additionally, new methods could lead to collisions if you happened to have attributes such as :update
or :assign_attributes
. In such a case, you would want to version lock below 2.1.0
, or use the :database_attribute_name
property and change your attribute name in code.
Published by awood45 over 6 years ago
References: #79
time_attr
method to AWS Record models, which uses Time
as the underlying type.Published by awood45 about 7 years ago
References: #75
aws-record
, though the APIs remain the same. Do note, however, that we've changed our SDK dependency to only depend on aws-sdk-dynamodb
. This means that if you were depending on other service clients transitively via aws-record
, you will need to add dependencies on the appropriate service gems when upgrading.