fmgp.did.method.prism.PrismStateMongoDB
See thePrismStateMongoDB companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
-
Self type
-
Members list
The names of the product elements
The names of the product elements
Attributes
-
Inherited from:
-
Mirror
Attributes
-
Inherited from:
-
Mirror
makeLayer create a PrismStateMongoDB from a mongoDBConnection
makeLayer create a PrismStateMongoDB from a mongoDBConnection
For the AsyncDriverResource make sure to include the reactivemongo dependencies. It's assumed this dependency is 'provided':
libraryDependencies += "org.reactivemongo" %% "reactivemongo" % V.reactivemongo
val mongoDBConnection = "mongodb+srv://readonly:readonly@cluster0.bgnyyy1.mongodb.net/indexer"
AsyncDriverResource.layer >>> PrismStateMongoDB.makeLayer(mongoDBConnection)
Attributes