@squidcloud/client
    Preparing search index...

    Interface CreateAiOntologyRelationshipRequest

    Request to create a relationship by hand. It is saved at once.

    interface CreateAiOntologyRelationshipRequest {
        confirmationColumns?: AiOntologyColumnPair[];
        description?: string;
        from: AiOntologyRelationshipEnd;
        fromEntityId?: string | null;
        label: string;
        ontologyId: string;
        to: AiOntologyRelationshipEnd;
        toEntityId?: string | null;
    }

    Hierarchy (View Summary)

    Index
    confirmationColumns?: AiOntologyColumnPair[]

    Columns, at most maxConfirmationColumnPairs pairs, whose values should agree once the join columns match. Each column must exist in its side's table. On update an omitted value, or the stored pairs sent back while both sides stay, is kept without being checked again; [] clears them.

    description?: string

    What the relationship means.

    The referencing side. Cardinality defaults to MANY in the service.

    fromEntityId?: string | null

    The entity of the referencing side: one of the ontology with the side's table as a member or a supporting table. On update an omitted value, or the stored one sent back, is kept without being checked again; null clears it. When the update moves the side to another table, a value sent is checked, and an omitted one the new table makes invalid is removed.

    label: string

    Short verb phrase, such as "placed by".

    ontologyId: string

    Id of the ontology.

    The referenced side. Cardinality defaults to ONE in the service.

    toEntityId?: string | null

    The entity of the referenced side, set as fromEntityId is.