Perfect-MongoDB alternatives and similar libraries
Based on the "MongoDB" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Perfect-MongoDB or a related project?
Perfect - MongoDB Connector [简体中文](README.zh_CN.md)
NOTE: This package is deprecated in favour of the official Mongo Swift Driver. We advise users to switch to that package if possible.
This project provides a Swift wrapper around the mongo-c client library, enabling access to MongoDB servers.
This package builds with Swift Package Manager and is part of the Perfect project. It was written to be stand-alone and so does not require PerfectLib or any other components.
Ensure you have installed and activated the latest Swift 4.0 tool chain.
macOS Build Notes
This package requires the Homebrew build of mongo-c.
To install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
To install mongo-c:
brew install mongo-c-driver
Linux Build Notes
Ensure that you have installed components below:
apt-get install libmongoc-dev libbson-dev libssl-dev
Add this project as a dependency in your Package.swift file.
.package(url: "https://github.com/PerfectlySoft/Perfect-MongoDB.git", from: "3.0.0")
Further information can be found at perfect.org.
*Note that all licence references and agreements mentioned in the Perfect-MongoDB README section above are relevant to that project's source code only.