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
Hi!
In my use case, I have multiple tables with schema that is exactly the same. What I would like to do is to provide the table name at runtime. I would use one table to generate the definitions with template haskell, but when building a relation, I would provide a different name.
nRel :: String -> Relation () MyData
nRel name = relationName name $ do
query $ MyData.myData
...
Is this currently possible, or might this be a feature request?
The text was updated successfully, but these errors were encountered:
Hi!
In my use case, I have multiple tables with schema that is exactly the same. What I would like to do is to provide the table name at runtime. I would use one table to generate the definitions with template haskell, but when building a relation, I would provide a different name.
Is this currently possible, or might this be a feature request?
The text was updated successfully, but these errors were encountered: