Omitting columns from the sync process
See original GitHub issueDiscussed in https://github.com/Azure/azure-mobile-apps/discussions/680
<div type='discussions-op-text'>Originally posted by henda79 May 25, 2023
I have some tables which have columns and are really only for the client. Is there a way to omit these from the sync ? I thought about some of the annotations I could use on the properties but ones like JsonIgnore
would stop the column been created on the client wouldn’t it ?!?
What’s the best way to go about this if any ?
Also, is it possible to have table(s) in the database which does not sync at all. It seems overkill to have another database and all the fluff that comes with it for the sake of 1 or 2 tables.
Thanks !</div>
Issue Analytics
- State:
- Created 4 months ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
What Happens to the Destination Data when I Exclude ...
When you exclude a column or table from the sync, the related data and metadata remain untouched in your destination. You must manually...
Read more >[Enhancement] Dotmim.Sync - specify columns to sync #61
Hello! As to my knowledge, it is not possible to specify the columns that should be included in (or excluded from) the sync...
Read more >SSIS Error: External Column for Source out of sync with ...
"Warning: The external columns for component "Sources-ItemData"(1) are out of sync with the data source columns. The external column "RM_Email"( ...
Read more >Fix sync errors with formula columns and custom ...
To see if formula and custom conversion columns could not be synced correctly, check out the Experience hub. The sync status for your...
Read more >How to update column type without losing Un-Synced Data
Hi everybody,. Is there any known method of updating a column type for an app that has had sync errors? The (irresponsible) user...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Potentially. It’s one of those “what happens at reflection vs. what happens with serialization” questions. It’s not clear. The short version is that the assumption is that the local db == remote db in form, and if necessary, the remote db is a superset of the local db. We are now proposing to break that assumption, so lots of things likely break.
SQLite handles concurrent reads very well. It’s the concurrent writes that are the potential problem. But since we control things from the same process and know how our database is accessed (through a shared DI service) we can synchronize writes in scenarios where we anticipate that happening.