These are chat archives for elliottminns/blackfish

18th
Apr 2016
Elliott Minns
@elliottminns
Apr 18 2016 13:12
It's updated
I've not added a readme about it yet
It supports mongodb out of the box now
so you need to do
Database.connect(url: "<mongourl>") { error in
    print(error ?? "Connected to mongodb")
}
Pierre Abi-aad
@abiaad
Apr 18 2016 19:49
cool :) thx ! I’ll try that !
Pierre Abi-aad
@abiaad
Apr 18 2016 20:18
seems MongoDatabase class is missing some public defined methods. It’s is wanted ?
Elliott Minns
@elliottminns
Apr 18 2016 20:22
Hmm what is it missing?
Pierre Abi-aad
@abiaad
Apr 18 2016 20:23
if I write mongo.database!.name I can’t access to name
(sorry I’m back from 3 month Objective-C …)
var name should be public no ?
Elliott Minns
@elliottminns
Apr 18 2016 20:23
Haha that's okay, I may not have made it public. It should be easy enough to change
Pierre Abi-aad
@abiaad
Apr 18 2016 20:24
ok so that’s normal ;)
Elliott Minns
@elliottminns
Apr 18 2016 20:24
It'll probably need to be a let though
Pierre Abi-aad
@abiaad
Apr 18 2016 20:24
I can do it if you want
indeed
Elliott Minns
@elliottminns
Apr 18 2016 20:25
Sounds good