Pymongo:跳过光标中的行

Pymongo : skip line in cursor

如何跳过光标中的一行。我使用了 next() 但出现错误。 这是我的代码:

for row in cursor:
           if(...):
             move to next line
           else :
              ...

谢谢

尝试这样的事情:

for row in cursor:
   if (...):
      continue

   standard logic here....