lxanders / mongobird

Bluebird aware mongoDB driver.
MIT License
6 stars 1 forks source link

Closing the connection #18

Open lo1tuma opened 9 years ago

lo1tuma commented 9 years ago

Right now we have no close method and no direct reference to the native connection so there is no way to close a connection.

We should figure out how to implement this in conjunction with our cached connections. Should there be a close method for our connection representation object which closes all open database connections?

lo1tuma commented 9 years ago

We should brainstorm how we want to design the API for this. Maybe we should also support bluebirds disposer.