Obtenha tudo recod de db nodejs mongodb
const checkbyname = await users.find({ username });
pavan malshan
const checkbyname = await users.find({ username });