prorm API Reference
    Preparing search index...

    Function Engine

    • Annotate a Model subclass with dialect-specific storage-engine configuration.

        @Engine({ mergeTreeEngine: { type: 'AggregatingMergeTree' }, orderBy: ['id'] })
      class Metrics extends Model { ... }

      Parameters

      Returns (target: Function) => void