Documentation
    Preparing search index...

    Interface BuildOptions

    Options for Model.build method

    interface BuildOptions {
        include?: AllowArray<Includeable>;
        isNewRecord?: boolean;
        raw?: boolean;
    }

    Hierarchy (View Summary)

    Index

    An array of include options. A single option is also supported - Used to build prefetched/included model instances. See set

    isNewRecord?: boolean

    Is this record new

    raw?: boolean

    If set to true, values will ignore field and virtual setters.

    false