prorm API Reference
    Preparing search index...

    Function BelongsToMany

    • Define a belongsToMany association

      Parameters

      Returns PropertyDecorator

      `@BelongsToMany`(() => Role, { through: UserRole })
      declare roles: BelongsToMany<Role>;