Solution: Create an Environment-Specific Database Client Factory

Use a map-based factory to return the correct client class based on the environment, eliminating the need for conditionals.

Solution: Create an Environment-Specific Database Client Factory

Use a map-based factory to return the correct client class based on the environment, eliminating the need for conditionals.