[Question] Local-only records? #1193
Replies: 3 comments 2 replies
-
Hey @ZimM-LostPolygon. I have converted this from an issue to a discussion. We don't currently have this feature implemented. As a workaround, you can create a separate local table by using the SQLite adapter API directly. Electric won't know anything about it but your client app will need to know to query from both the electrified and the local tables, as well as which notes to write where. |
Beta Was this translation helpful? Give feedback.
-
👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/ You can read more about why we made the decision at https://next.electric-sql.com/about We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback. We're now moving the temporary repo back here. As part of that migration we're closing all the old issues, PRs, and discussions. We really appreciate you taking the time to start this discussion! If it's still relevant in the new system, please reopen. |
Beta Was this translation helpful? Give feedback.
-
Hello! Here's my use-case:
I'm writing a note-taking app with cloud sync (think EverNote, OneNote etc.), and ElectricSQL looks like a great fit for that. However, for extra-sensitive data, the user might choose to NOT sync specific notes and only keep them on the device the note is created on.
Is there a way to achieve this with ElectricSQL? Ideally, the API for queries wouldn't change. Local-only notes will still be grabbed from local SQLite database, just ignored when it comes to sync if a special flag is set.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions