简体   繁体   中英

Is there anyway to find create date of existing databases in arangodb with arangosh

像在mysql中一样,我们可以查询系统表/信息模式表以根据创建日期获取数据库,是否有任何命令或查询可以根据数据库创建日期获取数据库

The response if you ask for the current database only contains the following information:

$ curl -u root: http://localhost:8529/_db/_system/_api/database/current
{
  "error": false,
  "code": 200,
  "result": {
    "name": "_system",
    "id": "1",
    "path": "C:\\ProgramData\\ArangoDB",
    "isSystem": true
  }
}

There is no creation date I'm afraid. Feel free to make this a feature request however.

Please also include how other database systems handle this if you happen to know, especially the cluster case in which every node might have a different time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM