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

Method InsertAllUsersGroup

coderd/database/querier.go:932–932  ·  view source on GitHub ↗

We use the organization_id as the id for simplicity since all users is every member of the org.

(ctx context.Context, organizationID uuid.UUID)

Source from the content-addressed store, hash-verified

930 // for simplicity since all users is
931 // every member of the org.
932 InsertAllUsersGroup(ctx context.Context, organizationID uuid.UUID) (Group, error)
933 InsertAuditLog(ctx context.Context, arg InsertAuditLogParams) (AuditLog, error)
934 InsertBoundaryLog(ctx context.Context, arg InsertBoundaryLogParams) (BoundaryLog, error)
935 InsertBoundarySession(ctx context.Context, arg InsertBoundarySessionParams) (BoundarySession, error)

Callers 8

TestApplyGroupDifferenceFunction · 0.65
SetupOrganizationFunction · 0.65
TestWorkspaceQuotasFunction · 0.65
TestGroupRemovalTriggerFunction · 0.65
DoMethod · 0.65
InsertAllUsersGroupMethod · 0.65
TestGroupMethod · 0.65
postOrganizationsMethod · 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 5

TestApplyGroupDifferenceFunction · 0.52
SetupOrganizationFunction · 0.52
TestWorkspaceQuotasFunction · 0.52
TestGroupRemovalTriggerFunction · 0.52
TestGroupMethod · 0.52