@@ -227,7 +227,7 @@ Using the `.ref` macro, you can:
227
227
228
228
You can freely combine all the above constructs into more deeply nested references.
229
229
For more examples, see the Scaladoc of the ` .ref ` macro or
230
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/MongoRefTest.scala ) .
230
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/MongoRefTest.scala ) .
231
231
232
232
** NOTE** : some of the above references (e.g. unwrapping optional fields or narrowing sealed hierarchies) introduce
233
233
an _ implied filter_ that is automatically included into the query if this reference is used in a MongoDB query document
@@ -247,7 +247,7 @@ val query: MongoDocumentFilter[MyEntity] =
247
247
```
248
248
249
249
For more examples, see the Scaladoc or
250
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/MongoFilterTest.scala ) .
250
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/MongoFilterTest.scala ) .
251
251
252
252
#### Unsupported operators
253
253
@@ -273,7 +273,7 @@ in the response of a query. It is usually one of:
273
273
* An arbitrary combination of projections into a tuple, e.g. ` MongoProjection.zip(MyEntity.ref(_.int), MyEntity.ref(_.data)) `
274
274
275
275
For more examples, see the Scaladoc or
276
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/MongoProjectionTest.scala ) .
276
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/MongoProjectionTest.scala ) .
277
277
278
278
### ` MongoDocumentOrder `
279
279
@@ -284,7 +284,7 @@ A `MongoDocumentOrder[E]` represents a sort order for a document of type `E`. It
284
284
* Multi-field order, e.g. ` MongoDocumentOrder(MyEntity.ref(_.int) -> true, MyEntity.ref(_.data.number) -> false) `
285
285
286
286
For more examples, see the Scaladoc or
287
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/MongoOrderTest.scala ) .
287
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/MongoOrderTest.scala ) .
288
288
289
289
### ` MongoDocumentUpdate `
290
290
@@ -296,7 +296,7 @@ val update: MongoDocumentUpdate[MyEntity] =
296
296
```
297
297
298
298
For more examples, see the Scaladoc or
299
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/MongoUpdateTest.scala ) .
299
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/MongoUpdateTest.scala ) .
300
300
301
301
### ` MongoIndex `
302
302
@@ -312,7 +312,7 @@ A `MongoIndex[E]` represents a MongoDB index document for an entity of type `E`.
312
312
```
313
313
314
314
For more examples, see the Scaladoc or
315
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/MongoIndexTest.scala ) .
315
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/MongoIndexTest.scala ) .
316
316
317
317
## Invoking database commands
318
318
@@ -348,7 +348,7 @@ program.runToFuture
348
348
```
349
349
350
350
For more examples of database operations with ` TypedMongoCollection ` , see
351
- [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/src/test/scala/com/avsystem/commons/mongo/typed/TypedMongoCollectionTest.scala ) .
351
+ [ tests] ( https://github.com/AVSystem/scala-commons/blob/master/commons-mongo/jvm/ src/test/scala/com/avsystem/commons/mongo/typed/TypedMongoCollectionTest.scala ) .
352
352
353
353
` TypedMongoCollection ` exposes mostly the same operations as Reactive Streams ` MongoCollection ` but typed differently,
354
354
that is: more precisely and in a more Scala-idiomatic way:
0 commit comments