ground-db
ground-db copied to clipboard
Ground.Collection 1.0.0
Tracking WIP releases, first release is a complete rewrite in ES2015 using localforage
as the storage adapter.
Requires [email protected]
Notes
-
Ground.Collection(name, options)
extendsMongo.Collection
with a few extra options - Support for
localstorage
/indexedDB
/webSQL
/SQLlite
(on cordova) - Pr. document updates (old uses bulk)
- Added async loading - this should improve performance even on large datasets
TODO
- [ ] Conflict handling (method resume/removal/updates of documents)
- [ ] Add document compression?
- [ ] Only subscribe to actual updates - prevent refetching
- [ ] Handle storage errors - eg. when hitting limits
- [ ] Storage quota handling?
- [ ] Add test coverage
- [ ] Add tab sync - maybe as a seperate package?
- [ ] Add support for blobs?
- [ ] Add support for indexes?
1.0.0-alpha.1 out