Typo fix
This commit is contained in:
parent
050542c29b
commit
88b1a29719
@ -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…
x
Reference in New Issue
Block a user