README instructions don't work #19
Comments
Right, don't know how I missed that. I'll fix it in a couple days when I have the time but until then I'm happy to take a pr 😃 |
I'm not sure I want to honestly 😉 I was trying out SwiftMongoDB, but find it really confusing. |
I was about to start a major refactor where the MongoDocument type will disappear and will simply become BSON.Document. The reason that it's so messy right now is because previously DocumentData was |
I just made most let dan: BSON.Document = [
"name": "Dan",
"age": 15,
"lovesProgramming" : true,
"location": [
"state": "California"
]
"favoriteNumbers" : [1,2,3,4,5]
] For a more detailed example I suggest taking a look at the unit test here. Readme will be updated with proper documentation soon... |
Fixed. |
The following code is not valid Swift and doesn't work:
The text was updated successfully, but these errors were encountered: