-
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(Delete): change the default behaviour of delete clause not to use…
… detach Previously the `delete` clause set the detach option to true, meaning that `.delete` and `.detachDelete` actually had the same behaviour unless you explicitly set `detach: false` in the delete options. It makes more sense for `delete` to become a `DELETE` clause in cypher and `detachDelete` to become a `DETACH DELETE` clause. BREAKING CHANGE: The `.delete` method now uses `detach: false` by default meaning that it will become a plain old `DELETE` clause in cypher. To retain the previous behaviour of becoming a `DETACH DELETE` clause by default, use the `.detachDelete` method instead.
- Loading branch information
Showing
4 changed files
with
16 additions
and
9 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