question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Omitting columns from the sync process

See original GitHub issue

Discussed 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:open
  • Created 4 months ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adrianhallcommented, May 25, 2023

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.

0reactions
amertlichcommented, May 26, 2023

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found