Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Repository files navigation

RxStorage for Indexeddb

Archived

This repository is not maintained and the storage is superseeded by storages for the browser directly available from rxdb. Please check these out.

Background

This storage is build to be used by RxDB. It uses native Indexeddb Indexes, idb module as thin wrapper around Indexeddb. We lended logic from pouchdb-find to plan and execute queries and aim to support the same set of operators. Operators like regex are being process in-memory and cannot take advantage of indexes.

Features

  • RxAttachments
  • RxLocalDocs

Compatibility

RxDB RxStorage Indexeddb
11.x 1.x

Installation

npm install rx-storage-indexeddb

Usage

import { getRxIdbStorage } from 'rx-storage-indexeddb'
import { createRxDatabase } from 'rxdb'

createRxDatabase<CollectionsOfDatabase>({
    name: 'mydb',
    storage: getRxIdbStorage(),
    ... more config
})

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages