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

Method GetAuthorizedChatsByChatFileID

coderd/database/modelqueries.go:747–747  ·  view source on GitHub ↗
(ctx context.Context, fileID uuid.UUID, prepared rbac.PreparedAuthorized)

Source from the content-addressed store, hash-verified

745type chatQuerier interface {
746 GetAuthorizedChats(ctx context.Context, arg GetChatsParams, prepared rbac.PreparedAuthorized) ([]GetChatsRow, error)
747 GetAuthorizedChatsByChatFileID(ctx context.Context, fileID uuid.UUID, prepared rbac.PreparedAuthorized) ([]Chat, error)
748}
749
750func (q *sqlQuerier) GetAuthorizedChats(ctx context.Context, arg GetChatsParams, prepared rbac.PreparedAuthorized) ([]GetChatsRow, 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