prorm API Reference
    Preparing search index...

    Type Alias ModelViewDefinition

    ModelViewDefinition: Omit<ViewDefinition, "from"> & { from?: ViewSource }

    A view definition written against a model, where the source is already known.

    Model.createView() fills from in with the model itself, so the caller writes only what the view selects. Supplying from anyway overrides it.