i try to alter an document with 2 operations in one query:
_userstats.update(
{"nick" : nick},
{"$set" : {"online" : True}},
{"$inc" : {"joined" : 1}})
But when i try this, i get en error:
raise TypeError("upsert must be an instance of bool")
TypeError: upsert must be an instance of bool
I dont get this to work. Can someone please help me to figure out what exactly my fault is?