Database connection helper for rethinkdb NoSQL database engine