Qeasy Cloud
Get Started

MongoDB索引写入配置指南

Source: Qeasy Cloud671 views

Mongo索引写入配置指南

API接口信息

选择适配器:Adapter\MongoDB\MongoDBQueryAdapter 接口名称:createIndex

配置指南

示例方案可以在这里找到。

{
  "data": {
    "index1": {
      "key": "content.FID",
      "sort": "1"
    }
  },
  "collectionName": "60dabfe6-8949-3623-a772-c79c2289eba5_ADATA"
}

参数说明

参数名称 类型 是否必填 描述
data object 索引配置信息
index1 object 索引字段,可设置多个
key string 索引字段名称
sort string 索引排序,1为升序,-1为降序
collectionName string 集合名称

以上是Mongo索引写入的详细配置和参数说明,确保根据需求正确设置各项参数。

Copyright Notice

The article "MongoDB索引写入配置指南" is original content owned by 广东轻亿云软件科技有限公司. Reposting, quoting, copying or mirroring is strictly prohibited without written authorization. Please contact us for authorization and credit the author and source (including the original link) prominently.