Skip to content

Commit ad54a8f

Browse files
committed
updated readme.md
1 parent 7465f13 commit ad54a8f

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,6 @@
55
[![Hex.pm](https://img.shields.io/hexpm/dw/mongodb_driver.svg)](https://hex.pm/packages/mongodb_driver)
66
[![Hex.pm](https://img.shields.io/hexpm/dd/mongodb_driver.svg)](https://hex.pm/packages/mongodb_driver)
77

8-
This is an alternative development from the [original](https://github.com/ankhers/mongodb), which was the starting point
9-
and already contained very nice code.
10-
11-
The [Documentation](https://hexdocs.pm/mongodb_driver/readme.html) is online, but currently not up to date.
12-
This will be done as soon as possible. In the meantime, look in the source code. Especially
13-
for the individual options.
14-
15-
## Motivation
16-
17-
* [x] I have made a number of changes to understand how the driver works. For example, I reduced cursor modules to just one cursor and
18-
replaced some op code calls with command calls.
19-
* [x] Simplify code: remove raw_find (raw_find called from cursors, raw_find called with "$cmd"), so raw_find is more calling a command than a find query.
20-
* [x] Better support for new MongoDB version, for example the ability to use views
21-
* [x] Upgraded to ([DBConnection 2.x](https://github.com/elixir-ecto/db_connection))
22-
* [x] Removed depreacated op codes ([See](https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#request-opcodes))
23-
* [x] Added `op_msg` support ([See](https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-msg))
24-
* [x] Added bulk writes ([See](https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#write))
25-
* [x] Add support for driver sessions ([See](https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.rst))
26-
* [x] Add support driver transactions ([See](https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst))
27-
* [ ] Add support for `op_compressed` ([See](https://github.com/mongodb/specifications/blob/master/source/compression/OP_COMPRESSED.rst))
28-
298
## Features
309

3110
* Supports MongoDB versions 3.2, 3.4, 3.6, 4.0, 4.2
@@ -38,7 +17,7 @@ for the individual options.
3817
* Support for change streams api ([See](https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst))
3918
* Support for bulk writes ([See](https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#write))
4019
* support for driver sessions ([See](https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.rst))
41-
* support driver transactions ([See](https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst))
20+
* support for driver transactions ([See](https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst))
4221

4322
## Data representation
4423

@@ -316,7 +295,7 @@ Using `$in`
316295
Mongo.find(:mongo, "users", %{email: %{"$in" => ["[email protected]", "[email protected]"]}})
317296
```
318297

319-
## Contributing
298+
## Testing
320299

321300
The SSL test suite is enabled by default. You have two options. Either exclude
322301
the SSL tests or enable SSL on your Mongo server.
@@ -341,6 +320,27 @@ $ mongod --sslMode allowSSL --sslPEMKeyFile /path/to/mongodb.pem
341320

342321
Special thanks to [JetBrains](https://www.jetbrains.com/?from=elixir-mongodb-driver) for providing a free JetBrains Open Source license for their complete toolbox.
343322

323+
This is an alternative development from the [original](https://github.com/ankhers/mongodb), which was the starting point
324+
and already contained very nice code.
325+
326+
The [Documentation](https://hexdocs.pm/mongodb_driver/readme.html) is online, but currently not up to date.
327+
This will be done as soon as possible. In the meantime, look in the source code. Especially
328+
for the individual options.
329+
330+
## Motivation
331+
332+
* [x] I have made a number of changes to understand how the driver works. For example, I reduced cursor modules to just one cursor and
333+
replaced some op code calls with command calls.
334+
* [x] Simplify code: remove raw_find (raw_find called from cursors, raw_find called with "$cmd"), so raw_find is more calling a command than a find query.
335+
* [x] Better support for new MongoDB version, for example the ability to use views
336+
* [x] Upgraded to ([DBConnection 2.x](https://github.com/elixir-ecto/db_connection))
337+
* [x] Removed depreacated op codes ([See](https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#request-opcodes))
338+
* [x] Added `op_msg` support ([See](https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-msg))
339+
* [x] Added bulk writes ([See](https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#write))
340+
* [x] Add support for driver sessions ([See](https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.rst))
341+
* [x] Add support for driver transactions ([See](https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst))
342+
* [ ] Add support for `op_compressed` ([See](https://github.com/mongodb/specifications/blob/master/source/compression/OP_COMPRESSED.rst))
343+
344344
## License
345345

346346
Copyright 2015 Eric Meadows-Jönsson and Justin Wood

0 commit comments

Comments
 (0)