Documentation
    Preparing search index...
    reconcile_table: (
        table: Table,
    ) => Promise<
        {
            fields: {
                name: string;
                status: "match"
                | "ghost"
                | "orphan";
                type?: string;
            }[];
            ghost_count: number;
            match_count: number;
            orphan_count: number;
            table_name: string;
        },
    >

    Type Declaration

      • (
            table: Table,
        ): Promise<
            {
                fields: {
                    name: string;
                    status: "match"
                    | "ghost"
                    | "orphan";
                    type?: string;
                }[];
                ghost_count: number;
                match_count: number;
                orphan_count: number;
                table_name: string;
            },
        >
      • Reconcile Saltcorn field metadata against physical DB columns. Returns a report of matches, ghosts (in Saltcorn but not in DB), and orphans (in DB but not in Saltcorn). This is a read-only operation — nothing is modified.

        Parameters

        • table: Table

          Saltcorn Table instance

        Returns Promise<
            {
                fields: {
                    name: string;
                    status: "match"
                    | "ghost"
                    | "orphan";
                    type?: string;
                }[];
                ghost_count: number;
                match_count: number;
                orphan_count: number;
                table_name: string;
            },
        >

        reconciliation report