I worked in some projects where we had to support multiple databases. Entity Framework and a few Database Views helped us keep it agnostic. It was very common in the pre-cloud enterprise world.
Uber did it recently, too. They changed from Postgres to MySQL. But I don't know if ORMs helped them or not.
Uber did it recently, too. They changed from Postgres to MySQL. But I don't know if ORMs helped them or not.