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

前端 未结 3 2029
逝去的感伤
逝去的感伤 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:01

    I don't want to use morphia in scala because I have to convert java collections to scala

    If this is the only reason, I suggest you to use scala.collection.JavaConversions It contains implicit conversions from Java to Scalca collections and vice verse.

提交回复
热议问题