mongoengine.errors.OperationError: Update failed (BSON field ‘no_cursor_timeout‘ is an unknown field
mongo4.2環境下,
執行這句程式碼報錯:
updated_obj = cls.objects(prefix=id_prefix).modify(set__prefix=id_prefix, inc__current=1, upsert=True, new=True)
錯誤資訊:
mongoengine.errors.OperationError: Update failed (BSON field 'no_cursor_timeout' is an unknown field., full error: {'ok': 0.0, 'errmsg': "BSON field 'no_cursor_timeout' is an unknown field.", 'code': 51177, 'codeName': 'Location51177'})
版本降級可破,降到了3.2
相關文章
- MongoDB server returned error on SASL authentication step: BSON field 'saslCoMongoDBServerError
- mysql Unknown column ‘‘ in ‘field list‘解決方案MySql
- Unknown column ‘name‘ in ‘field list‘ ; bad SQL grammar []; nested exception is com.mysql.jdbc.excepExceptionMySqlJDBC
- MySQL 之 ORDER BY FIELDMySql
- 11-Overview-Field SelectorsView
- copying model and updating field of pydantic
- Field Parameter的設定
- tpextbuilder- Displayers[元件]- FieldUI元件
- TypeScript 裡的 class fieldTypeScript
- SAP產品的Field Extensibility
- Neural Radiance Field (NeRF): A Gentle Introduction
- Exercise 5: Field data acquisition and analysisUI
- spring data mongo @Field 失效問題SpringGo
- 1364 - Field did doesnt have a default value
- tc39 proposal: Class field declarations
- Unsatisfied dependency expressed through field ‘baseMapper‘ 原因ExpressAPP
- Omi 入坑指南 Third field 事件入門事件
- 報錯“Please indicate a valid Swagger or OpenAPI version field”SwaggerAPI
- Java SE之反射技術[Class,Field](一)Java反射
- A Method of Setting the LiDAR Field of View in NDT Relocation Based on ROIView
- 論文解讀《The Emerging Field of Signal Processing on Graphs》
- jackson學習之七:常用Field註解
- [BUG反饋]前臺呼叫標籤,field的值 field="id,title,description" 只能讀取'id',其它的不能用
- 什麼是軟體開發中的 green field 和 brown field 模式 - 綠地開發和棕地開發模式
- Spring中給靜態欄位(field)注入beanSpringBean
- SAP MRKO Error - For document type RE, an entry is required in field Reference -ErrorUI
- MySQL按指定順序排序(order by field的使用)MySql排序
- TP5 在field中使用mysql函式MySql函式
- 如何設定redis中hash的field的expire ?Redis
- CF 1980 F1 Field Division (easy version) (*1900)
- Error creating bean with name ‘dataSource‘: Unsatisfied dependency expressed through fieldErrorBeanExpress
- 什麼是 SAP UI5 的 Smart FieldUI
- pod update -- Failed to connect to GitHub to update the CocoaPods/Specs specs repoAIGithub
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- ES 筆記三十五:排序及 Doc Values & Field Data筆記排序
- dcat-admin 表單 Field type [autocomplete] does not exist.
- dedeCMS標籤[field:typedir/]中{cmspath}的去除辦法
- 【PR】3D Gaussian Splatting for Real-Time Radiance Field Rendering3D