Description
This command is used to query all CONNECTION objects in the current Workspace.
Syntax
Parameter Description
-
LIKE pattern: This option is optional and is used to filter by object name. It supports case-insensitive pattern matching and can use the SQL wildcards%(matches any number of characters) and_(matches a single character). Example:LIKE '%testing%'. Note that this filter cannot be used simultaneously with theWHEREclause. -
WHERE expr: This option is optional and allows users to filter based on the fields displayed by theSHOW CONNECTIONScommand. Users can filter results using expressions for more precise lookup of the desired database objects. The supported filter fields are:name,category,type,enabled,created_time
Examples
-
Query all CONNECTIONS in the current workspace:
-
Filter using WHERE condition:
+------------------------+----------+----------------+---------+-------------------------+ | name | category | type | enabled | created_time | +------------------------+----------+----------------+---------+-------------------------+ | my_funciton_connection | API | CLOUD_FUNCTION | ENABLED | 2024-12-31 17:36:05.104 | +------------------------+----------+----------------+---------+-------------------------+
