[Question] Local-only records? #1193
ZimM-LostPolygon
started this conversation in
Feature requests
Replies: 2 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.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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