CakePHP Version - 4.6.1
Application is reading data after write in multiple places. Is there any generic approach to handle this instead of specifying write role on each select query to read from write DB.
CakePHP Version - 4.6.1
Application is reading data after write in multiple places. Is there any generic approach to handle this instead of specifying write role on each select query to read from write DB.
you can try using the beforeFind event to add it to all select queries