Swiftpack.co - Package - vapor/fluent-mongo-driver

Github

link
Stars: 9

Used By

Total: 0

Releases

Upgrade MongoKitten Version -

This patch was authored by @qi-shun-wang and released by @0xTim.

When receiving a lot of MongoDB traffic (millions of requests), a small leak in MongoKitten would become a performance and memory problems in services. This patch depends on the MongoKitten version with that fix.

See: https://github.com/OpenKitten/MongoKitten/issues/254

Add contains operator support -

This patch was authored and released by @tanner0101.

Adds support for the contains (~~) operator (#35).

FluentKit 1.0.0 GM -

This patch was authored and released by @tanner0101.

Updates this package for compatibility with latest version of FluentKit.

Fix breaking change in MongoKitten -

This patch was authored and released by @Joannis.

Add change stream and GridFS support -

This patch was authored and released by @Joannis.

Add support for change streams on entities and GridFS file reading/writing

Added debug logging to all queries -

This patch was authored and released by @Joannis.

This PR adds debug logging to all MongoDB queries

Exports the Document type for flexible data support, and adds tests -

This patch was authored and released by @Joannis.

Exports the Document type for flexible data support, and adds tests.

Fix join and joinCount returning invalid results on queries where a limit is applied -

This patch was authored and released by @Joannis.

Move the limits and skips to later in the join stages. This way the limits and skips apply to the final resultset, not the initial input.

Support ObjectId as custom identifier type -

This patch was authored and released by @Joannis.

Adds support for ObjectId as an identifier type in MongoDB.

Implement inverse subset filter with `$nin` -

This patch was authored by @gwynne and released by @tanner0101.

Previously the driver would erroneously treat !~ filters as ~~ filters.

Hop to the Fluent EventLoop in custom MongoDB requests -

This patch was authored and released by @Joannis.

In the previous PR, #10, not all queries were covered because the MongoKitten helper objects aren't being used on all requests. This PR adds hops the eventloop on the remainder of queries.

Fluent MongoDB RC 1.1 -

This release fixes a bug that would show up in common usage of Vapor applications. The results of queries would be asynchronously delivered on the wrong EventLoop.

Fluent MongoDB driver RC 1 -

This release technically matches the Alpha 2 release, but marks a point of API stability in both Fluent and this MongoDB driver.

FluentKit RC 1 -

Updates to FluentKit Release Candidate 1.

This patch was authored and released by @tanner0101.

Alpha 1 -

The first release of the driver has arrived. If you're using Fluent 4 beta 5, MongoDB is now supported.

Connect to MongoDB using a connection string, for example, to localhost:

try databases.use(.mongo(connectionString: "mongodb://localhost/vapor-database"), as: .mongo)