https://github.com/PerfectlySoft/Perfect-MongoDB
  
  
    A stand-alone Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. 
    https://github.com/PerfectlySoft/Perfect-MongoDB
  
database mongodb mongodb-connector perfect server-side-swift swift
        Last synced: 3 months ago 
        JSON representation
    
A stand-alone Swift wrapper around the mongo-c client library, enabling access to MongoDB servers.
- Host: GitHub
 - URL: https://github.com/PerfectlySoft/Perfect-MongoDB
 - Owner: PerfectlySoft
 - License: apache-2.0
 - Created: 2016-04-04T13:58:22.000Z (over 9 years ago)
 - Default Branch: master
 - Last Pushed: 2020-05-12T16:38:05.000Z (over 5 years ago)
 - Last Synced: 2024-11-23T06:02:53.726Z (12 months ago)
 - Topics: database, mongodb, mongodb-connector, perfect, server-side-swift, swift
 - Language: Swift
 - Homepage: https://www.perfect.org
 - Size: 726 KB
 - Stars: 52
 - Watchers: 7
 - Forks: 23
 - Open Issues: 8
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
- awesome-ios - MongoDB - A Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. (Database / Getting Started)
 - awesome-swift - Perfect-MongoDB - A stand-alone wrapper around the mongo-c client library, enabling access to MongoDB servers. (Libs / Data Management)
 - TheList - Perfect MongoDB connector - A stand-alone Swift wrapper around the mongo-c client library. (Database Connectors / MongoDB)
 - awesome-swift - Perfect-MongoDB - A stand-alone wrapper around the mongo-c client library, enabling access to MongoDB servers. (Libs / Data Management)
 - fucking-awesome-swift - Perfect-MongoDB - A stand-alone wrapper around the mongo-c client library, enabling access to MongoDB servers. (Libs / Data Management)
 - awesome-ios-star - MongoDB - A Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. (Database / Getting Started)
 - fucking-awesome-ios - MongoDB - A Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. (Database / Getting Started)
 - fucking-awesome-ios - MongoDB - A Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. (Database / Getting Started)
 - awesome-swift - Perfect-MongoDB - A stand-alone Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. ` đ 2 years ago` (Data Management [đ](#readme))
 
README
          Perfect - MongoDB Connector [įŽäŊ䏿](README.zh_CN.md)
===========================
NOTE: This package is deprecated in favour of the official [Mongo Swift Driver](https://github.com/mongodb/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](https://github.com/PerfectlySoft/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](http://brew.sh) 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
```
Building
--------
Add this project as a dependency in your Package.swift file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.package(url: "https://github.com/PerfectlySoft/Perfect-MongoDB.git", from: "3.0.0")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Documentation
--------
Further information can be found at [perfect.org](http://www.perfect.org/docs/MongoDB.html).