Dynamoid
Dynamoid copied to clipboard
Ruby ORM for Amazon's DynamoDB
I added the option to define a custom field name for optimistic locking. `optimistic_lock_field :some_custom_field` You can still use the old way `field lock_version` If both lock_version and a custom...
I need to update multiple tables through dynamoid. Is there any way to make such transaction atomic? For example, for a particular operation, I'm updating tables t1, t2, t3. If...
Not sure if I should file the issue. Let me know if there is a better place to ask the question. Does dynamoid retry for calls to DynamoDB? If yes,...
this class works fine. ``` ruby class Article include Dynamoid::Document table :name => :articles, :key => :id, :read_capacity => 1, :write_capacity => 1 field :id, :integer field :uri field :place,...
When you call `write_attribute` here: https://github.com/Veraticus/Dynamoid/blob/master/lib/dynamoid/fields.rb#L73 You're checking the length of the string with `size` when it should actually be `bytesize`. Also, the length of things aren't constrained unless they're...
Specific issue: add performance benchmarks for Dynamoid::Config.partitioning? (provide a link to results in the readme). Do you guys have performance benchmarks for Dynamoid::Config.partitioning? ? It seems at a glance that...
Hi, I have a model called StatDisplayDynamo ``` ruby class StatDisplayDynamo include Dynamoid::Document table :name => :stat_display_dynamo, :key => :id, :read_capacity => 400, :write_capacity => 400 field :campaign_id, :integer field...
I have a model (shown below) that gets duplicated (observed from dynamodb console) when I update it. My sequence of operations, starting with an empty table: ``` User.create(...) # creates...
This adds a new adapter that uses V2 DynamoDB Client API. In the future, this should make it possible to add secondary index support (though this PR doesn't include it)...
This line: https://github.com/Veraticus/Dynamoid/blob/master/lib/dynamoid/fields.rb#L4 says: All fields on a Dynamoid::Document must be explicitly defined -- if you have fields in the database that are not specified with field, then they will...