SHOW
The SHOW command can be used to show the metadata of a database or a DBMS.
This page discusses common behavior to all SHOW commands.
Rules pertaining to specific SHOW commands, as well as the different columns returned by them, are listed on other pages or in the Operations Manual as follows:
Common behavior and rules
All SHOW commands have similar behavior and comply to the same rules.
Returning default and non-default columns using SHOW and YIELD
All SHOW commands have default return columns, and most have non-default return columns as well.
For information about the specific columns, visit the documentation for the specific SHOW command listed above.
Using YIELD returns non-default columns, either specific columns or all available columns.
SHOW INDEXES
YIELDSHOW INDEXES
YIELD name, type, indexProvider
YIELD *SHOW INDEXES
YIELD *
Using SHOW commands with RETURN
If the RETURN clause is used in any SHOW command, YIELD is mandatory.
RETURN after YIELDSHOW INDEXES
YIELD name, type, indexProvider AS provider, options, createStatement
RETURN name, type, provider, options.indexConfig AS config, createStatement
Filter SHOW commands using WHERE
All SHOW commands can be filtered using the WHERE clause.
This allows you to narrow down results based on specific conditions, such as names or status values.
SHOW command using WHERESHOW SETTINGS YIELD name, value, description
WHERE name STARTS WITH 'server'
RETURN name, value, description
Composable SHOW commandsCypher 25 onlyIntroduced in 2026.05
The following SHOW commands can be combined with each other and other Cypher® clauses; see their respective sections for examples:
-
SHOW TRANSACTIONS(Operations Manual) — it has been possible to combineSHOW TRANSACTIONSwithTERMINATE TRANSACTIONSsince Neo4j 5.0.
|
When combining a |
SHOW PROCEDURES
YIELD name, signature
RETURN name, signature, 'procedure' AS type
UNION
SHOW FUNCTIONS
YIELD name, signature
RETURN name, signature, 'function' AS type
SHOW FUNCTIONS
YIELD name, signature
WITH name, collect(signature) AS signatures
FILTER size(signatures) > 1
RETURN name, signatures