Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.