Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 419 Bytes

db_list.md

File metadata and controls

26 lines (20 loc) · 419 Bytes
layout api-command
language Java
permalink api/java/db_list/
command dbList
related_commands
dbCreate dbDrop tableCreate
db_create/
db_drop/
table_create/

Command syntax

{% apibody %} r.dbList() → array {% endapibody %}

Description

List all database names in the cluster. The result is a list of strings.

Example: List all databases.

r.dbList().run(conn);