Module: Dynamoid
- Extended by:
- Dynamoid
- Included in:
- Dynamoid
- Defined in:
- lib/dynamoid/persistence.rb,
lib/dynamoid.rb,
lib/dynamoid/dirty.rb,
lib/dynamoid/config.rb,
lib/dynamoid/errors.rb,
lib/dynamoid/fields.rb,
lib/dynamoid/adapter.rb,
lib/dynamoid/dumping.rb,
lib/dynamoid/finders.rb,
lib/dynamoid/indexes.rb,
lib/dynamoid/railtie.rb,
lib/dynamoid/version.rb,
lib/dynamoid/criteria.rb,
lib/dynamoid/document.rb,
lib/dynamoid/loadable.rb,
lib/dynamoid/undumping.rb,
lib/dynamoid/components.rb,
lib/dynamoid/validations.rb,
lib/dynamoid/associations.rb,
lib/dynamoid/identity_map.rb,
lib/dynamoid/type_casting.rb,
lib/dynamoid/log/formatter.rb,
lib/dynamoid/config/options.rb,
lib/dynamoid/criteria/chain.rb,
lib/dynamoid/fields/declare.rb,
lib/dynamoid/tasks/database.rb,
lib/dynamoid/persistence/inc.rb,
lib/dynamoid/persistence/save.rb,
lib/dynamoid/transaction_write.rb,
lib/dynamoid/dynamodb_time_zone.rb,
lib/dynamoid/persistence/import.rb,
lib/dynamoid/persistence/upsert.rb,
lib/dynamoid/associations/has_one.rb,
lib/dynamoid/application_time_zone.rb,
lib/dynamoid/associations/has_many.rb,
lib/dynamoid/transaction_write/base.rb,
lib/dynamoid/transaction_write/save.rb,
lib/dynamoid/associations/belongs_to.rb,
lib/dynamoid/middleware/identity_map.rb,
lib/dynamoid/associations/association.rb,
lib/dynamoid/primary_key_type_mapping.rb,
lib/dynamoid/transaction_write/create.rb,
lib/dynamoid/transaction_write/upsert.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3.rb,
lib/dynamoid/criteria/where_conditions.rb,
lib/dynamoid/persistence/update_fields.rb,
lib/dynamoid/transaction_write/destroy.rb,
lib/dynamoid/criteria/key_fields_detector.rb,
lib/dynamoid/associations/many_association.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/scan.rb,
lib/dynamoid/persistence/update_validations.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/query.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/table.rb,
lib/dynamoid/associations/single_association.rb,
lib/dynamoid/transaction_write/update_fields.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/transact.rb,
lib/dynamoid/transaction_write/update_attributes.rb,
lib/dynamoid/associations/has_and_belongs_to_many.rb,
lib/dynamoid/criteria/nonexistent_fields_detector.rb,
lib/dynamoid/persistence/item_updater_with_dumping.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/create_table.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/item_updater.rb,
lib/dynamoid/transaction_write/delete_with_instance.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/batch_get_item.rb,
lib/dynamoid/transaction_write/delete_with_primary_key.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/middleware/limit.rb,
lib/dynamoid/config/backoff_strategies/constant_backoff.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/execute_statement.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/middleware/backoff.rb,
lib/dynamoid/config/backoff_strategies/exponential_backoff.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/middleware/start_key.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/until_past_table_status.rb,
lib/dynamoid/persistence/item_updater_with_casting_and_dumping.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/filter_expression_convertor.rb,
lib/dynamoid/adapter_plugin/aws_sdk_v3/projection_expression_convertor.rb
Overview
Prepare all the actions of the transaction for sending to the AWS SDK.
Defined Under Namespace
Modules: AdapterPlugin, ApplicationTimeZone, Associations, Components, Config, Criteria, Dirty, Document, Dumping, DynamodbTimeZone, Errors, Fields, Finders, IdentityMap, Indexes, Loadable, Log, Middleware, Persistence, Tasks, TypeCasting, Undumping, Validations
Classes: Adapter, PrimaryKeyTypeMapping, Railtie, TransactionWrite
Constant Summary
collapse
- VERSION =
'3.11.0'
Instance Method Summary
collapse
Instance Method Details
#adapter ⇒ Object
63
64
65
|
# File 'lib/dynamoid.rb', line 63
def adapter
@adapter ||= Adapter.new
end
|
#deprecator ⇒ Object
68
69
70
71
|
# File 'lib/dynamoid.rb', line 68
def deprecator
@deprecator ||= ActiveSupport::Deprecation.new('4.0', 'Dynamoid')
end
|
#included_models ⇒ Object
58
59
60
|
# File 'lib/dynamoid.rb', line 58
def included_models
@included_models ||= []
end
|