arguments. 1 were passed in., full error: {'operationTime': Timestamp(1643973594, 11), 'ok': 0.0, 'errmsg': 'Expression $ne takes exactly 2 arguments. 1 were passed in.', 'code': 16020, 'codeName': 'Location16020', '$clusterTime': {'clusterTime': Timestamp(1643973594, 11), 'signature': {'hash': b'\x98j\xbc\x85\xb9d\xe6%\xd9 \xfa:Z\x80\xe8.\xcf7\xba\xcc', 'keyId': 7013744094732091393}}}
posts.find({'chat_id': chat_id}, {'block': {'$ne': 1}})
posts.find({$and:[{'chat_id': chat_id}, {'block': {'$ne': 1}}]})
Обсуждают сегодня