io.github.greenleafoss.mongo.play.dao.PlayMongoDao.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of green-leaf-mongo-play_3 Show documentation
Show all versions of green-leaf-mongo-play_3 Show documentation
This extension created on top of official MongoDB Scala Driver. It allows to fully utilize Spray, Play or Circe JSON and represents bidirectional serialization for case classes in BSON, as well as flexible DSL for MongoDB query operators, documents and collections.
The newest version!
package io.github.greenleafoss.mongo.play.dao
import io.github.greenleafoss.mongo.core.dao.GreenLeafMongoDao
import io.github.greenleafoss.mongo.play.util.PlayJsonBsonOps
import scala.concurrent.ExecutionContext
trait PlayMongoDao[Id, E](
using
override protected val ec: ExecutionContext)
extends GreenLeafMongoDao[Id, E]
with PlayMongoDaoProtocol[Id, E]
with PlayJsonBsonOps