Skip to content

Commit

Permalink
fix deleteRelationships typo @ docs
Browse files Browse the repository at this point in the history
  • Loading branch information
themetalfleece committed Dec 9, 2023
1 parent 79b8967 commit 4537e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/md/docs/Models/Deleting-Relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Using the `deleteRelationships` static of a Model and providing a Where parameter, relationships of the Model can be deleted

```js
await Users.delete({
await Users.deleteRelationships({
/* --> the Relationshhips to be deleted will be matched using this param */
where: {
/* --> (optional) the relationship(s) to be deleted need to be from a User with the name 'John' AND the id '1' */
Expand Down

0 comments on commit 4537e8b

Please sign in to comment.