Python get last row in MongoDB database (without looping)

后端 未结 0 1746
后悔当初
后悔当初 2021-01-20 17:16

Based on this post: Get the latest record from mongodb collection

I got the following to work:

docs = dbCollectionQuotes.find({}).limit(1).sort([(\'$na         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题