persistent-typed-db icon indicating copy to clipboard operation
persistent-typed-db copied to clipboard

A type and helpers for typesafe SQL access in the presence of many databases.

Results 5 persistent-typed-db issues
Sort by recently updated
recently updated
newest added

This PR solves: https://github.com/parsonsmatt/persistent-typed-db/issues/19

Much of the code in this repo uses `getEntityFieldsDatabase` when it should use `getEntityFields`. See [replace](https://github.com/parsonsmatt/persistent-typed-db/blob/master/src/Database/Persist/Typed.hs#L393) for an example. This causes persistent-typed-db to attempt to replace migration only fields which...

I'm looking at introducing this library to a codebase at work, where the application environment stores a separate `Pool SqlReadBackend` for read-only queries. Is there a way to use this...

Hi! I'm trying to use this library to have my Yesod app use both a postgres and a mysql databases. I'll call the dbs `master` and `liv`. In `Application.hs`'s `makeFoundation`...

This is safe, I think.