Получите All Recod от db nodejs mongodb

const checkbyname = await users.find({ username });
pavan malshan