Typo fix
This commit is contained in:
parent
050542c29b
commit
88b1a29719
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ the $ positional operator ::
|
||||||
|
|
||||||
Post.objects(comments__by="joe").update(**{'inc__comments__$__votes': 1})
|
Post.objects(comments__by="joe").update(**{'inc__comments__$__votes': 1})
|
||||||
|
|
||||||
However, this doesn't map well to the syntax so you can alos use a capital S instead ::
|
However, this doesn't map well to the syntax so you can also use a capital S instead ::
|
||||||
|
|
||||||
Post.objects(comments__by="joe").update(inc__comments__S__votes=1)
|
Post.objects(comments__by="joe").update(inc__comments__S__votes=1)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue