简体   繁体   English

如何从 arango 控制台获取所有数据库的列表?

[英]How to get list of all databases from arango console?

我没有看到任何有关在 ArangoDB 中获取所有现有数据库的help功能。

To get the list of all existing databases from the Arango console (I am referring to the ArangoShell here), you can use:要从 Arango 控制台获取所有现有数据库的列表(我在这里指的是 ArangoShell),您可以使用:

db._databases();

In case you are looking for other methods: the shell has auto-completion, so you can type db.如果您正在寻找其他方法:shell 具有自动完成功能,因此您可以键入db. and then press the tab key.然后按tab键。 This will show the list of available properties/functions for the given object if it exists (and is a variable).如果存在(并且是变量),这将显示给定对象的可用属性/函数列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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