Mongodb – Is it possible to use a variable object inside collection.find() in mongoose?
Context: I am trying to code the back end of an "Advanced Search" option It is a project I'm coding to practice JS, MongoDB(Mongoose), Next, Node, Etc. The Schema I'm using is the following: House Schema:{ name:String, address:{ street:String city:String,…