开发者

Schema definition in Squeryl using Scala Case Classes

While reading http://squeryl.org/schema-definition.html page of Squeryl project, I noticed case classes are rarely use in the schema definit开发者_StackOverflow中文版ions. I was wondering if using case classes to model schema definitions is not recommended ? I would use case classes for pattern matching ...


Case classes are fine. The documentation probably doesn't use them often simply because entities aren't required to be case classes. By the way, in the future you are more likely to get a quick response to your Squeryl related questions from the Google Group.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜