Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vazra/firestore-sqlite-sync
Sync selected fields from Firebase Firestore collections to local SQLite DB.
https://github.com/vazra/firestore-sqlite-sync
database firestore sqlite sync
Last synced: about 1 month ago
JSON representation
Sync selected fields from Firebase Firestore collections to local SQLite DB.
- Host: GitHub
- URL: https://github.com/vazra/firestore-sqlite-sync
- Owner: vazra
- Created: 2020-07-04T17:29:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T05:04:18.000Z (over 1 year ago)
- Last Synced: 2024-10-04T17:49:47.751Z (about 1 month ago)
- Topics: database, firestore, sqlite, sync
- Language: TypeScript
- Homepage:
- Size: 8.21 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# FireStore -> SQLite Sync
> WARNING! : this package is not yet ready for production, will remove this warning when ready.
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)
### Features
-
## Notes
- If you are updating the server data externally, make sure to update the last updated time corresponding to the collection name is updated, otherwise the change wont be automatically synced to the local sqlite db.
- in the watching-fields only `strings` and `numbers` are supported now.
- Only first level item in the collection doc is considered.
- In the local database, all the id fields (which is the primary key) is made to string, as it corresponds to DocID from firestore which is a string.