Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev/mongo' into dev/mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbker committed Feb 11, 2024
2 parents 9e57a60 + 00866b3 commit da8b9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ collection.deleteById(id) // id must be the same type as the field marked as the
// all of these have sync versions which follow the same pattern, f.x. collection.findSync(), where the return value is the same as the async version, just not wrapped by a CompletableFuture
```

If we need something that isn't already wrapped by the TwilightMongoCollection, it exposes us the MongoCollection of Documents, which we can get with `collection.documents`
If we need something that isn't already wrapped by the TwilightMongoCollection, it exposes us the MongoCollection of Documents, which we can get with `collection.documents`.

### Ternary Operator
There is a basic ternary operator implementation added which can be used like so:
Expand Down

0 comments on commit da8b9cf

Please sign in to comment.