Perfect - MongoDB Connector 简体中文
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.
We are transitioning to using JIRA for all bugs and support related issues, therefore the GitHub issues has been disabled.
If you find a mistake, bug, or any other helpful suggestion you'd like to make on the docs please head over to http://jira.perfect.org:8080/servicedesk/customer/portal/1 and raise it.
A comprehensive list of open issues can be found at http://jira.perfect.org:8080/projects/ISS/issues
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
Ensure that you have installed components below:
apt-get install libmongoc-dev libbson-dev libssl-dev
The default installation of libmongoc is /usr/local/include. If not, please correct the path manually:
ln -s /usr/include/libmongoc-1.0/ libmongoc-1.0
Add this project as a dependency in your Package.swift file.
.Package(url:"https://github.com/PerfectlySoft/Perfect-MongoDB.git", majorVersion: 3)
Further information can be found at perfect.org.