OpenSearch/docs/reference/sql/language/syntax/commands/show-functions.asciidoc
Andrei Stefan 4eea9c20ee SQL: document the use of a filter on _routing (#52355)
* Fix "Description"s for various sections in the functions pages.
* Added a TIP for searching using a routing key.
* Other small polishings

(cherry picked from commit 9fad0b1ac4409a42c435ed040f41cbaea18930a3)
2020-02-14 19:00:26 +02:00

46 lines
1014 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]
----