Skip to content

sugar syntax to declaring views #7633

@sibelius

Description

@sibelius

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: [],
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureThis change adds new functionality, like a new method or class

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions