Import all documents of a given type, will either use the iterable implementation if implemented within the importStore implementation or the listDocuments function as a fallback The iterable implementation will have the effect that a progress bar will be displayed

  • Type Parameters

    Parameters

    • typeName: string

      What type to import

    • importStore: AbstractDatastore

      The store to import from

    • prisma: TPrisma

      The prisma client to import to

    • limit: number = 10000

      The limit of documents to import

    • options: {
          IRItoId?: IRIToStringFn;
          typeIsNotIRI?: boolean;
          typeNameToTypeIRI?: StringToIRIFn;
      } = {}

    Returns Promise<any>