build_params is used to filter by build parameters if present. It has to be a CTE because the set returning function 'unnest' cannot be used in a WHERE clause.
(ctx context.Context, arg GetWorkspacesParams)
| 914 | // It has to be a CTE because the set returning function 'unnest' cannot |
| 915 | // be used in a WHERE clause. |
| 916 | GetWorkspaces(ctx context.Context, arg GetWorkspacesParams) ([]GetWorkspacesRow, error) |
| 917 | GetWorkspacesAndAgentsByOwnerID(ctx context.Context, ownerID uuid.UUID) ([]GetWorkspacesAndAgentsByOwnerIDRow, error) |
| 918 | GetWorkspacesByTemplateID(ctx context.Context, templateID uuid.UUID) ([]WorkspaceTable, error) |
| 919 | GetWorkspacesEligibleForTransition(ctx context.Context, now time.Time) ([]GetWorkspacesEligibleForTransitionRow, error) |
no outgoing calls