prorm API Reference
    Preparing search index...

    Variable EngineRegistryConst

    EngineRegistry: {
        getOptions(target: Function): EngineOptions | undefined;
        getTableOptions(target: Function): Record<string, unknown>;
    } = ...

    Type Declaration

    • getOptions: function
    • getTableOptions: function
      • Returns the

        Parameters

        • target: Function

        Returns Record<string, unknown>

        options in the shape createTable() expects to be spread into its options argument (ClickHouse reads mergeTreeEngine/ orderBy/ttl/partitionBy/projections as loosely-typed extensions; MySQL/MariaDB read engine directly off TableOptions). Returns an empty object (not undefined) when the class has no

        decorator, so callers can always safely spread the result.