method

[]=

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: StatementPool
[]=(sql, key) public

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/connection_adapters/postgresql_adapter.rb, line 188
        def []=(sql, key)
          while @max <= cache.size
            dealloc(cache.shift.last)
          end
          @counter += 1
          cache[sql] = key
        end
Register or log in to add new notes.