method
replica?
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::HashConfig
replica?()public
Determines whether a database configuration is for a replica / readonly connection. If the `replica` key is present in the config, `replica?` will return `true`.