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

Method GetUserCount

coderd/database/querier.go:783–783  ·  view source on GitHub ↗
(ctx context.Context, includeSystem bool)

Source from the content-addressed store, hash-verified

781 GetUserChatSpendInPeriod(ctx context.Context, arg GetUserChatSpendInPeriodParams) (int64, error)
782 GetUserCodeDiffDisplayMode(ctx context.Context, userID uuid.UUID) (string, error)
783 GetUserCount(ctx context.Context, includeSystem bool) (int64, error)
784 // Returns the minimum (most restrictive) group limit for a user.
785 // Returns -1 if no group limits match the specified scope.
786 // When organization_id is NULL, groups across all organizations are

Callers 8

TestUserOAuth2GithubFunction · 0.65
firstUserMethod · 0.65
postFirstUserMethod · 0.65
oauthLoginMethod · 0.65
GetUserCountMethod · 0.65
GetUserCountMethod · 0.65
TestSystemFunctionsMethod · 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 2

TestUserOAuth2GithubFunction · 0.52
TestSystemFunctionsMethod · 0.52