
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
무슨 오류일까요..

작성한 코드 및 에러 메세지
from pymongo import MongoClient
client = MongoClient('mongodb+srv://test:aparta@cluster0.x0kxnse.mongodb.net/Cluster0?retryWrites=true&w=majority')
db = client.dbsparta
doc = {
'name':'bob',
'age':27
에러 메세지
/Users/solyipark/Desktop/sparta/phythonprac/venv/bin/python /Users/solyipark/Desktop/sparta/phythonprac/dbprac.py
Traceback (most recent call last):
File "/Users/solyipark/Desktop/sparta/phythonprac/dbprac.py", line 11, in <module>
db.users.inseert_one(doc)
File "/Users/solyipark/Desktop/sparta/phythonprac/venv/lib/python3.8/site-packages/pymongo/collection.py", line 3206, in __call__
raise TypeError(
TypeError: 'Collection' object is not callable. If you meant to call the 'inseert_one' method on a 'Collection' object it is failing because no such method exists.
Process finished with exit code 1
