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

Method InsertChat

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

Source from the content-addressed store, hash-verified

934 InsertBoundaryLog(ctx context.Context, arg InsertBoundaryLogParams) (BoundaryLog, error)
935 InsertBoundarySession(ctx context.Context, arg InsertBoundarySessionParams) (BoundarySession, error)
936 InsertChat(ctx context.Context, arg InsertChatParams) (Chat, error)
937 // updated_at is the retention clock used by DeleteOldChatDebugRuns.
938 // Set it on every write to keep retention semantics correct.
939 InsertChatDebugRun(ctx context.Context, arg InsertChatDebugRunParams) (ChatDebugRun, error)

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