MongoCollection

The MongoCollection representation.

Type parameters:
A

The type that this collection will encode documents from and decode documents to.

Value parameters:
wrapped

the underlying java MongoCollection

class Object
trait Matchable
class Any

Type members

Classlikes

trait Service[A]

Value members

Concrete methods

@nowarn("cat=unused")
def live[A : ClassTag](name: String)(implicit evidence$1: Tag[A], evidence$2: ClassTag[A], codec: Codec[A]): ZLayer[MongoDatabase, Nothing, MongoCollection[A]]