SHOW WORKSPACES
On this page
Returns information on workspaces.
Syntax
SHOW WORKSPACES [ IN GROUP { ID '<group_ID>' | '<group_name>' } ]
[ LIKE '<pattern>' ] [ EXTENDED ]
[ ORDER BY '<key>' [ ASC | DESC ],... ] [ LIMIT <limit> ]
Arguments
-
group_
,ID group_
: The ID or name of the deployment (workspace group) that contains the workspace.name -
pattern
: Specifies a pattern similar to the SQLLIKE
clause and returns workspaces with names that match the specified pattern.Uses %
as the wildcard character. -
key
: Key used to sort the result set. -
limit
: An integer value.
Remarks
-
The
LIMIT
clause limits the number of results to the specified number. -
By default, the result is sorted in the ascending order.
-
Specify the
EXTENDED
clause to return more information on the files.
Example
The following command returns information on all the workspaces in the workspace group named s2wsg and sorts the result by Name
in the ascending order:
SHOW WORKSPACES IN GROUP 's2wsg' EXTENDED ORDER BY Name;
Last modified: February 13, 2025