method
replica?
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::UrlConfig
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.