method
[]=
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: StatementPool
[]=(sql, key)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 88 def []=(sql, key) while @max <= cache.size dealloc(cache.shift.last[:stmt]) end cache[sql] = key end