You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Groundhog doesn't supported sharded tables well. i.e the situation when DB has lots of tables with same structure. All these tables share a data type representing the tables,
which instantiates PersistentEntity class.
PersistentEntity has entitfyDef function. It already returns meta data including table name, but
there is not way to deliver table name to PersistentEntity in case of reading data from DB.
e.g.
Hi,
Groundhog doesn't supported sharded tables well. i.e the situation when DB has lots of tables with same structure. All these tables share a data type representing the tables,
which instantiates PersistentEntity class.
PersistentEntity has entitfyDef function. It already returns meta data including table name, but
there is not way to deliver table name to PersistentEntity in case of reading data from DB.
e.g.
MyType represents multiple tables: my_type_1, my_type_2, ....
entityDef is pure function so it is not possible to benefit from ReaderT.
ThreadLocal feature is deprecated in Haskell.
The text was updated successfully, but these errors were encountered: