@dxos/echo
    Preparing search index...

    Function deleteKeys

    • Delete all keys from the relation for the specified source. Must be called within a Relation.update callback.

      NOTE: TypeScript's structural typing allows readonly objects to be passed to Mutable<T> parameters, so there is no compile-time error. Enforcement is runtime-only.

      Parameters

      • entity: {
            "[Source]": { "~@dxos/echo/Kind": Object; id: string };
            "[Target]": { "~@dxos/echo/Kind": Object; id: string };
            "~@dxos/echo/Kind": Relation;
            id: string;
        }
      • source: string

      Returns void

      O(k) in the foreign-key count.