@metreeca/pipe
    Preparing search index...

    Function update

    • Creates a sink applying a feed of SPARQL Update requests to a SPARQL repository.

      The sink applies the requests one at a time, in feed order, and resolves to their count. Every request runs on its own, outside any transaction: a failing request rejects the sink, but the requests before it stay applied.

      Parameters

      • Optionalrepository: Repository

        The target repository; defaults to the createRepository service

      Returns Sink<string, number>

      A sink applying each request in the feed and resolving to the number of applied requests

      Error If repository is omitted, and either no execution is running or the running one binds no repository to createRepository, as service defines

      Error While the feed is consumed, whatever the source reports while producing requests, or whatever the repository reports while applying them