Abstract PouchDB adapter