I've read most questions here about node-mongodb-native but I can't work out the standard practice as to when I should open/close a connection.
Some sources say open/close as needed, some say use one db instance throughout. Does node-mongodb-native support automatic connection pooling? If so, how do I use this?
I would really appreciate example code showing correct use of db.open and db.close in relation to, say, a login request.