MCPcopy Index your code
hub / github.com/coder/coder / UpsertTaskWorkspaceApp

Method UpsertTaskWorkspaceApp

coderd/database/querier.go:1422–1422  ·  view source on GitHub ↗
(ctx context.Context, arg UpsertTaskWorkspaceAppParams)

Source from the content-addressed store, hash-verified

1420 UpsertTailnetTunnel(ctx context.Context, arg UpsertTailnetTunnelParams) (TailnetTunnel, error)
1421 UpsertTaskSnapshot(ctx context.Context, arg UpsertTaskSnapshotParams) error
1422 UpsertTaskWorkspaceApp(ctx context.Context, arg UpsertTaskWorkspaceAppParams) (TaskWorkspaceApp, error)
1423 UpsertTelemetryItem(ctx context.Context, arg UpsertTelemetryItemParams) error
1424 // This query aggregates the workspace_agent_stats and workspace_app_stats data
1425 // into a single table for efficient storage and querying. Half-hour buckets are

Callers 10

createBuildMethod · 0.65
TestTasksWithStatusViewFunction · 0.65
doInTXMethod · 0.65
TestTasksMethod · 0.65
TaskWorkspaceAppFunction · 0.65
buildTxMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 4

createBuildMethod · 0.52
TestTasksWithStatusViewFunction · 0.52
TestTasksMethod · 0.52