如何使用MongoDB的电机驱动器?

2024-09-29 06:26:43 发布

您现在位置:Python中文网/ 问答频道 /正文

我想和摩托的潜水员一起数数,但我出错了

AttributeError: 'AsyncIOMotorCursor' object has no attribute 'count'

这是我的代码:

await MOTOR_CURSOR.users.find().count()

Tags: no代码objectcountattributefindawaitusers