Click here to Skip to main content
15,666,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

OperationFailure: Unknown type name alias: moviename, full error: {'ok': 0.0, 'errmsg': 'Unknown type name alias: moviename', 'code': 2, 'codeName': 'BadValue'}

What I have tried:

type = db.col.find({'type': {'$type':'moviename'} })
for item in type:
Updated 12-Sep-22 0:15am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900