method

pool_configs

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: PoolManager
pool_configs(role = nil) 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/pool_manager.rb, line 18
      def pool_configs(role = nil)
        if role
          @name_to_role_mapping[role].values
        else
          @name_to_role_mapping.flat_map { |_, shard_map| shard_map.values }
        end
      end
Register or log in to add new notes.