Member Junction
    Preparing search index...

    Use MJSQLDialectEntity from @memberjunction/core-entities instead.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __mj_CreatedAt: Date = null

    Record creation timestamp

    __mj_UpdatedAt: Date = null

    Record last update timestamp

    DatabaseName: string = null

    Database engine name (e.g., 'SQL Server', 'PostgreSQL')

    Description: string = null

    Detailed description

    Icon: string = null

    CSS class or icon reference for UI display

    ID: string = null

    Unique identifier for this SQL dialect

    LanguageName: string = null

    SQL language variant name (e.g., 'T-SQL', 'PL/pgSQL')

    Name: string = null

    Display name (e.g., 'T-SQL', 'PostgreSQL')

    PlatformKey: string = null

    Lowercase platform key matching DatabasePlatform type (e.g., 'sqlserver', 'postgresql')

    VendorName: string = null

    Primary vendor or organization

    WebURL: string = null

    URL to documentation or vendor website

    Methods

    • Copies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.

      Parameters

      • initData: any

        The initialization data object

      Returns void

    • Default JSON serialization for BaseInfo subclasses.

      Emits all non-underscored direct field declarations. For _-prefixed private backing fields (the MJ pattern for collection storage — e.g. _Fields, _RelatedEntities, _OrganicKeys), emits the value of the corresponding same-named public getter instead. Purely computed getters without a backing field (display-name formatters, derived flags) are intentionally skipped — they can throw when source fields are null and don't belong on the wire anyway.

      Nested BaseInfo instances and arrays of them unwrap automatically via JSON.stringify's native toJSON() protocol.

      Subclasses may override to emit a filtered subset or custom shape (see EntityFieldValueInfo).

      Returns Record<string, unknown>