Import a document into the prisma store and connect it to other documents will recursively import connected documents from the importStore

  • Type Parameters

    Parameters

    • typeNameOrigin: string
    • document: any
    • importStore: AbstractDatastore
    • prisma: TPrisma
    • visited: Set<any>
    • importError: Set<string>
    • Optionaloptions: {
          IRItoId?: IRIToStringFn;
          typeIsNotIRI?: boolean;
          typeNameToTypeIRI?: StringToIRIFn;
      }

    Returns Promise<{ connectResult: any; upsertResult: any }>