edge badge
Methods
#
N
Class Public methods
new(connection, max)
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 209
def initialize(connection, max)
  super
  @counter = 0
end
Instance Public methods
[]=(sql, key)
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 218
def []=(sql, key)
  super.tap { @counter += 1 }
end
next_key()
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 214
def next_key
  "a#{@counter + 1}"
end