--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Translate the attributes into a Hash with the field as the key
- !ruby/struct:SM::Flow::P 
  body: "@example"
- !ruby/struct:SM::Flow::VERB 
  body: "  attributes = { User.properties[:name] =&gt; 'Dan Kubb' }\n  adapter.attributes_as_fields(attributes)  # =&gt; { 'name' =&gt; 'Dan Kubb' }\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Hash] attributes"
- !ruby/struct:SM::Flow::VERB 
  body: "  the attributes with the Property as the key\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [Hash]"
- !ruby/struct:SM::Flow::VERB 
  body: "  the attributes with the Property#field as the key\n"
- !ruby/struct:SM::Flow::P 
  body: "@api semipublic"
full_name: DataMapper::Adapters::AbstractAdapter#attributes_as_fields
is_singleton: false
name: attributes_as_fields
params: (attributes)
visibility: protected
