mongoose
mongoose copied to clipboard
sugar syntax to declaring views
Do you want to request a feature or report a bug? feature
What is the current behavior? a mongoose syntax to create views
What is the expected behavior? a mongoose syntax to create views
it could be similar to mongoose.Schema
maybe
mongoose.View({
name: '',
viewOn: '',
pipeline: [],
});