collection.find().sort({ x: 1 }).hint('x').toArray() will get this error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'args')
at removeClause (create_next_fn.js:39:1)
at create_next_fn.js:357:1
at createGetIDBReqFn (create_next_fn.js:358:1)
at createGetIDBCurFn (create_next_fn.js:378:1)
at createNextFn (create_next_fn.js:521:1)
at push../node_modules/zangodb/build/src/create_next_fn.js.module.exports (create_next_fn.js:572:1)
at Cursor._init (cursor.js:321:1)
at Cursor._forEach (cursor.js:62:1)
at Cursor._toArray (cursor.js:115:1)
at Cursor.toArray (cursor.js:142:1)
collection.find().sort({ x: 1 }).hint('x').toArray()
will get this error: