File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 10
10
11
11
## Features
12
12
13
- - supports MongoDB versions 4.x, 5.x, 6.x
13
+ - supports MongoDB versions 4.x, 5.x, 6.x, 7.x
14
14
- connection pooling ([ through DBConnection 2.x] ( https://github.com/elixir-ecto/db_connection ) )
15
15
- streaming cursors
16
16
- performant ObjectID generation
@@ -551,7 +551,11 @@ The driver supports two compressors
551
551
552
552
To activate zstd compression, simply add ` {:ezstd, "~> 1.1"} ` to the dependencies of your ` mix.exs ` file.
553
553
The driver will provide the related code. After activating the zstd compressor can be used by appending
554
- the ` compressors=zstd ` to the URL connection string.
554
+ the ` compressors=zstd ` to the URL connection string:
555
+
556
+ ``` elixir
557
+ {:ok , conn} = Mongo .start_link (url: " mongodb://localhost:27017/my_database?compressors=zstd&maxPoolSize=10" )
558
+ ```
555
559
556
560
The driver uses compression for the following functions:
557
561
You can’t perform that action at this time.
0 commit comments