GraphQL and MongoDB — a quick example
Nick Redmark
68014

Nice article. I have a question:

const db = await MongoClient.connect(MONGO_URL)
const Posts = db.collection('posts')
const Comments = db.collection('comments')

Do you agree that your application open only 1 connection to database? any problem in the future ?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.