开发者

how to use types created from persist template?

开发者 https://www.devze.com 2023-04-05 09:01 出处:网络
In my Model.hs I can successfully use the data types that correspond to my data tables that I descr开发者_运维百科ibe in config/models file.

In my Model.hs I can successfully use the data types that correspond to my data tables that I descr开发者_运维百科ibe in config/models file.

I would like to use these types in my other files, for example, in Foundation.hs.

Is there a module that I need to import or a function to call from the file where I need to use the types?


I do not know why my first answer was deleted. Again, these types are visible in other files without importing anything. I posted the question too soon.

0

精彩评论

暂无评论...
验证码 换一张
取 消