i am trying to run a search , it is working fine with findOne and recieving data but when i use find it just return some headers and prototypes like this
code
let data = await client
.db("Movies")
.collection("movies")
.find();
console.log(data);
please tell me where i am going wrong