vapor-community / mongo-driver

MongoDB driver for Fluent
28 stars 26 forks source link

1.0 #9

Closed tanner0101 closed 8 years ago

tanner0101 commented 8 years ago

Support Fluent 1.0 and the modify query action.

seivan commented 8 years ago

This looks good. 👍 Merge and release!

seivan commented 8 years ago

Actually, it would be better if you changed the order of the initializer arguments to look like The MySQL Driver.

swift public init(host: String, user: String, password: String, database: String, port: UInt) throws

Hmm, it also uses an UInt for the port, but I feel like a regular Int would do better even though it's not unsigned. Just keep it light.