Method: Dynamoid::Fields::ClassMethods#table
- Defined in:
- lib/dynamoid/fields.rb
#table(_options) ⇒ Object
76 77 78 79 80 81 82 |
# File 'lib/dynamoid/fields.rb', line 76 def table() # a default 'id' column is created when Dynamoid::Document is included unless attributes.key? hash_key remove_field :id field(hash_key) end end |