-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for syncing more complex paths
It is currently difficult to sync on a small portion of a model if that model includes a list element. For example /node1/node2/*/node3/node4. The current method would be to select node1/node2/* then exclude the unwanted fields. This however can cause substantial processing. This change allows paths of type /node1/node2/*/node3/node4 to be entered. The new code uses apteryx_query and apteryx_watch_tree to retrieve the database information to synchronize. Additionally exclude paths are now only applied to the model they were added with.
- Loading branch information
1 parent
2d07ec7
commit d630574
Showing
2 changed files
with
176 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters