-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Set): replace override option with merge
The override option has now been replaced with the merge option to be more consistent with cypher. The merge option is just the opposite of the override option. Setting to true will cause the `+=` operator to be used in the query. This also affects the default behaviour of the Set class and all `.set*` family functions. There was previously an inconsistency between the Set class and the set methods on the builder interface in regards to whether to use the `=` or `+=` operator by default which has now been normalized to always use `=`. This means that the new merge option will always default to false. BREAKING CHANGE: The default behaviour of the Set clause has changed to use the `=` operator. This is to be more consistent with cypher.
- Loading branch information
Showing
5 changed files
with
35 additions
and
40 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
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
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
91ab4f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SetOptions's override was renamed merge however the docs were not updated with this modification.