Skip to content

Commit 73ae2cd

Browse files
authored
Update TypedMongo.md
1 parent 8305e09 commit 73ae2cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/TypedMongo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ a wrapper over Reactive Streams driver `MongoCollection` with more precisely typ
4545
### Defining an entity
4646

4747
```scala
48+
import com.avsystem.commons.mongo.typed._
4849
import org.bson.types.ObjectId
4950

5051
case class SimpleEntity(
@@ -58,6 +59,7 @@ object SimpleEntity extends MongoEntityCompanion[SimpleEntity]
5859
### Setting up the client
5960

6061
```scala
62+
import com.avsystem.commons.mongo.typed._
6163
import com.mongodb.reactivestreams.client.MongoClients
6264

6365
val client = MongoClients.create() // connects to localhost by default

0 commit comments

Comments
 (0)