@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias ParentSearch

    A parent table matched through the base table's FK to it.

    type ParentSearch = {
        doc: SearchDocument;
        fk: Column;
        id: PgColumn;
        table: PgTable;
        where?: SQL;
    }
    Index

    The parent's search document.

    fk: Column

    The base table's FK column.

    id: PgColumn

    The parent's id, the column the FK references.

    table: PgTable

    The parent table.

    where?: SQL

    Restricts which parent rows count, e.g. organization.is_main_org.