OpenSearch/docs/reference/sql/language/syntax/commands/show-functions.asciidoc
James Rodewig f51f8ed04c [DOCS] Remove unneeded options from [source,sql] code blocks (#42759)
In AsciiDoc, `subs="attributes,callouts,macros"` options were required
to render `include-tagged::` in a code block.

With elastic/docs#827, Elasticsearch Reference documentation migrated
from AsciiDoc to Asciidoctor.

In Asciidoctor, the `subs="attributes,callouts,macros"` options are no
longer needed to render `include-tagged::` in a code block. This commit
removes those unneeded options.

Resolves #41589
2019-05-31 13:05:13 -04:00

48 lines
1012 B
Plaintext

[role="xpack"]
[testenv="basic"]
[[sql-syntax-show-functions]]
=== SHOW FUNCTIONS
.Synopsis
[source, sql]
----
SHOW FUNCTIONS [LIKE pattern?]? <1>
----
<1> SQL match pattern
.Description
List all the SQL functions and their type. The `LIKE` clause can be used to restrict the list of names to the given pattern.
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctions]
----
The list of functions returned can be customized based on the pattern.
It can be an exact match:
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsLikeExact]
----
A wildcard for exactly one character:
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsLikeChar]
----
A wildcard matching zero or more characters:
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsLikeWildcard]
----
Or of course, a variation of the above:
[source, sql]
----
include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsWithPattern]
----