Search code examples
mysqlhaskellhaskelldb

Is there anyway to reverse engineer fields from existing schema using haskelldb or any other haskell library?


I'm looking to port some python scripts to haskell, the scripts use sqlalchemy(ORM) that lets you reverse engineer models from existing DB schema which is quite handy. I'm not sure if there's any library in haskell which lets you do the same thing. I think haskelldb has an ORM-like approach so I was wondering if it lets you do reverse engineering as well. I don't mind if it's a different library other than haskelldb, if I can reverse engineer then it will save a lot of time for me.


Solution

  • The groundhog-inspector package was just announced today on reddit (link) and may do what you want.