The Problem You're building a system that supports multiple databases — MySQL, PostgreSQL, MongoDB. Different services in your application need to create database-specific objects — queries, transactions, updators. The naive approach?
Source: [Dev.to](https://dev.to/madhukar_vissapragad/simple-factory-factory-method-abstract-factory-which-one-do-you-need-2fio)