method

_query_constraints_hash

Importance_0
v8.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Persistence
_query_constraints_hash() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/persistence.rb, line 852
      def _query_constraints_hash
        if self.class.query_constraints_list.nil?
          { @primary_key => id_in_database }
        else
          self.class.query_constraints_list.index_with do |column_name|
            attribute_in_database(column_name)
          end
        end
      end
Register or log in to add new notes.