vapor-community / mongo-driver

MongoDB driver for Fluent
28 stars 26 forks source link

Readme not clear #15

Open massdonati opened 8 years ago

massdonati commented 8 years ago

I'm not sure what should I add on my Package.swift file because XCode says no such module MongoDriver. I tried to add mongokitten's and this git repo without luck.

Thanks for the help.

tanner0101 commented 8 years ago

To use Mongo, add this package: https://github.com/vapor/mongo-provider

Docs: https://vapor.github.io/documentation/fluent/driver.html

islandjoe commented 8 years ago

I got the same problem as @maxydon. I also lifted the codes from https://github.com/vapor/mongo-provider

mongo-error

Ok so after reading the Vapor docs I came across this, and this exactly solves the problem:

mongo-solution
tanner0101 commented 8 years ago

@islandjoe could you make a PR to the README that adds this note?

imdanielsp commented 7 years ago

This is not solving the problem for me :(