MCPcopy Create free account
hub / github.com/coder/coder / UpsertAISeatState

Method UpsertAISeatState

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

Returns true if a new rows was inserted, false otherwise.

(ctx context.Context, arg UpsertAISeatStateParams)

Source from the content-addressed store, hash-verified

1364 UpsertAIModelPrices(ctx context.Context, seed json.RawMessage) error
1365 // Returns true if a new rows was inserted, false otherwise.
1366 UpsertAISeatState(ctx context.Context, arg UpsertAISeatStateParams) (bool, error)
1367 UpsertAnnouncementBanners(ctx context.Context, value string) error
1368 UpsertApplicationName(ctx context.Context, value string) error
1369 // Upserts boundary usage statistics for a replica. On INSERT (new period), uses

Callers 4

TestUpsertAISeatsFunction · 0.65
UpsertAISeatStateMethod · 0.65
UpsertAISeatStateMethod · 0.65
TestAISeatMethod · 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

TestUpsertAISeatsFunction · 0.52
TestAISeatMethod · 0.52