MCPcopy Index your code
hub / github.com/apache/answer / UpdateAnswerCount

Method UpdateAnswerCount

internal/service/question_common/question.go:72–72  ·  view source on GitHub ↗
(ctx context.Context, questionID string, num int)

Source from the content-addressed store, hash-verified

70 GetQuestionsByTitle(ctx context.Context, title string, pageSize int) (questionList []*entity.Question, err error)
71 UpdatePvCount(ctx context.Context, questionID string) (err error)
72 UpdateAnswerCount(ctx context.Context, questionID string, num int) (err error)
73 UpdateCollectionCount(ctx context.Context, questionID string) (count int64, err error)
74 UpdateAccepted(ctx context.Context, question *entity.Question) (err error)
75 UpdateLastAnswer(ctx context.Context, question *entity.Question) (err error)

Callers 2

UpdateAnswerCountMethod · 0.65
RemoveAnswerMethod · 0.65

Implementers 1

questionRepointernal/repo/question/question_repo.g

Calls

no outgoing calls

Tested by

no test coverage detected