is there a way to pull only the name of the fields in a document in mongodb using mongoose
my website takes a dataset and the dataset contains data about a students or employees..etc, so I want to display the column names to the user. Is there a way to pull the fields name? ex: Name, Age, Country String,…