Is there any orm-like library for mongodb in scala?

前端 未结 3 2031
逝去的感伤
逝去的感伤 2021-02-08 22:15

It seems only the casbah we can use in scala, but I hope there is a orm-like library for scala, like morphia for java, or something else.

Is th

3条回答
  •  甜味超标
    2021-02-08 23:00

    Spring Data is releasing Morphia-like mapping capabilities in the M2 of the MongoDB support. We've talked about doing some native Scala support for this but we haven't had anyone ask for it directly, so its hard to gauge interest. It should be usable as-is from Scala--though there are things I'd like to see us make more Scala-ish.

    https://github.com/springsource/spring-data-document

提交回复
热议问题