"SequoiaDB Giant Sequoia Database" listIndexes() Overview 2

error

error code

Example

  • Return all index information under the collection employee
db.sample.employee.listIndexes()
{
  "IndexDef": {
    "name": "$id",
    "_id": {
      "$oid": "5e9e91bccf4f1e7370e4074d"
    },
    "key": {
      "_id": 1
    },
    "v": 0,
    "unique": true,
    "dropDups": false,
    "enforced": true,
    "NotNull": false
  },
  "IndexFlag": "Normal",
  "Type": "Positive"
}

Click on Jushan Database Documentation Center for more information

Guess you like

Origin blog.csdn.net/weixin_48909806/article/details/112942075