method

replica?

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.