Ash FrameworkAF
Ash Framework3y ago
16 replies
Arjun Bajaj

Differences between ETS and Postgres

So my thinking right now is, I'm using ETS to build out all of my resources and basically the app for as long as I can get away with. I do realize there are some differences between the Postgres adapter and ETS such as when it comes to identities where you've to add pre_check_with. However, are there some major differences where Ash is not able to abstract away the data layer and the code would actually be different for the two?

I just wanted to keep open the option of selecting a database later. Maybe PlanetScale (which is MySQL, but doesn't support foreign key constraints and has some other limitations too), or Postgres or SQLite. Of course I understand we'll have to figure out how to create a data layer for those as they don't exist in Ash right now, but maybe I could help with one of those if we decide to go that route?
Was this page helpful?