prorm API Reference
    Preparing search index...

    Function Tablespace

    • Decorator to specify tablespace for a table (PostgreSQL/MySQL).

      Usage:

        @Tablespace('fast_storage')
      @Table
      class LargeTable extends Model {}

      Parameters

      • name: string

        Tablespace name

      Returns ClassDecorator