Documentation
    Preparing search index...

    Class ModelSetView<Dialect>

    Type Parameters

    Hierarchy (View Summary)

    Index
    • get size(): number

      Returns number

      the number of (unique) elements in Set.

    • Type Parameters

      Parameters

      • modelName: string

      Returns ModelStatic<M> | undefined

    • Returns an array that lists every model, sorted in order of foreign key references: The first model is a model that is depended upon, the last model is a model that is not depended upon.

      If there is a cyclic dependency, this returns null.

      Returns ModelStatic[] | null

    • Returns the list of registered model names.

      Returns Iterable<string>

    • Type Parameters

      Parameters

      • modelName: string

      Returns ModelStatic<M>

    • Parameters

      Returns boolean

      a boolean indicating whether an element with the specified value exists in the Set or not.

    • Parameters

      • modelName: string

      Returns boolean