prorm API Reference
    Preparing search index...

    Interface ViewOptions

    Options for creating a view

    interface ViewOptions {
        replace?: boolean;
        comment?: string;
        schema?: string;
        materialized?: boolean;
    }
    Index
    replace?: boolean

    If true, replaces an existing view with the same name

    comment?: string

    Optional comment for the view

    schema?: string

    Schema to create the view in (PostgreSQL)

    materialized?: boolean

    Materialized view (PostgreSQL)