Member Junction
    Preparing search index...

    <mj-query-diagnostics> — lists findings about a query's SQL: the reasons a save was refused, or the messages of its last metadata extraction. Each finding shows its rule code, its line and column (a button when LocationsClickable, so a host can move its editor there), the message, and the fix when there is one.

    Presentational: findings in, a location click out. Read a refused save's message with ParseQuerySaveMessage and an ExtractionMessage with ParseQueryDiagnostics (@memberjunction/core-entities).

    Index

    Constructors

    Properties

    Diagnostics: readonly QueryDiagnosticLine[] = []

    The findings to list.

    Headline: string | null = null

    A line introducing them, such as Query "X" was not saved:.

    LocationClick: EventEmitter<QueryDiagnosticLine> = ...

    A finding whose location the user clicked.

    LocationsClickable: boolean = false

    Whether a finding's line and column are a button that emits LocationClick.

    Severity: QueryDiagnosticsSeverity = 'error'

    Accessors