@squidcloud/client
    Preparing search index...

    Interface AiOntologyRelationship

    A relationship between two tables of an ontology.

    interface AiOntologyRelationship {
        associationName?: string;
        condition?: AiOntologyRelationshipCondition;
        confidence?: number;
        confirmationColumns?: AiOntologyColumnPair[];
        createdAt: number;
        description?: string;
        from: AiOntologyRelationshipEnd;
        fromEntityId?: string;
        id: string;
        label: string;
        ontologyId: string;
        queryHint?: string;
        reasoning?: string;
        resolvedFromEntityId?: string;
        resolvedToEntityId?: string;
        signature: string;
        source: AiOntologyRelationshipSource;
        to: AiOntologyRelationshipEnd;
        toEntityId?: string;
        updatedAt: number;
    }
    Index
    associationName?: string

    The name of the schema association the relationship was imported from.

    Limits the relationship to rows where a column holds one value.

    confidence?: number

    From 0 to 1, when inference or a model proposed the relationship.

    confirmationColumns?: AiOntologyColumnPair[]

    Column pairs whose values should agree once the join columns match; a record that differs is a possible match.

    createdAt: number

    Creation time in epoch milliseconds.

    description?: string

    What the relationship means.

    The referencing side.

    fromEntityId?: string

    The business entity a caller chose for the referencing side, as stored; it may since have become invalid.

    id: string

    Unique id of the relationship.

    label: string

    Short verb phrase, such as "placed by".

    ontologyId: string

    The ontology the relationship belongs to.

    queryHint?: string

    How a query in the database's own language traverses the relationship.

    reasoning?: string

    Why the relationship was proposed.

    resolvedFromEntityId?: string

    Output only: the entity of the referencing side on this read. The stored choice when it is still eligible, else none; with no choice stored, the only eligible entity that has the table as a member, else the only one that has it as a supporting table. An eligible entity is in the ontology and has the side's table as a member or a supporting table.

    resolvedToEntityId?: string

    Output only: the entity of the referenced side on this read, resolved as resolvedFromEntityId is.

    signature: string

    Identifies the link; a link written in either direction has one signature.

    Where the relationship came from. A person's edit makes it human, which imports and runs leave alone.

    The referenced side.

    toEntityId?: string

    The business entity a caller chose for the referenced side, as stored; it may since have become invalid.

    updatedAt: number

    Last update time in epoch milliseconds.