有没有办法可以连接或加入电机光标进行迭代?
例如
cursor1 = xxx.find({"field1":field1})
cursor2 = yyy.find({"field1":field1})
# how can I join cursor1 and cursor2 together
#cursor = cursor1+ cursor2
while (yield cursor.fetch_next):
doc = cursor.next_object()
print(doc)