update sqlc gen

This commit is contained in:
Pavel 2024-03-17 17:58:18 +03:00
parent 75eaec5e33
commit 120675f27a
2 changed files with 12 additions and 12 deletions

@ -551,10 +551,10 @@ SELECT
Funnel.count_t_start_with_t_question, Funnel.count_t_start_with_t_question,
Funnel.count_t_result, Funnel.count_t_result,
Funnel.count_start_true, Funnel.count_start_true,
Results.question_title AS results_question_title, Results.question_title AS results_title,
Results.percentage AS results_percentage, Results.percentage AS results_percentage,
Questions.question_title AS questions_question_title, Questions.question_title AS questions_title,
Questions.answer_content AS questions_answer_content, Questions.answer_content AS answer_content,
Questions.percentage AS questions_percentage Questions.percentage AS questions_percentage
FROM FROM
Funnel, Funnel,

@ -1645,10 +1645,10 @@ SELECT
Funnel.count_t_start_with_t_question, Funnel.count_t_start_with_t_question,
Funnel.count_t_result, Funnel.count_t_result,
Funnel.count_start_true, Funnel.count_start_true,
Results.question_title AS results_question_title, Results.question_title AS results_title,
Results.percentage AS results_percentage, Results.percentage AS results_percentage,
Questions.question_title AS questions_question_title, Questions.question_title AS questions_title,
Questions.answer_content AS questions_answer_content, Questions.answer_content AS answer_content,
Questions.percentage AS questions_percentage Questions.percentage AS questions_percentage
FROM FROM
Funnel, Funnel,
@ -1669,10 +1669,10 @@ type QuestionsStatisticsRow struct {
CountTStartWithTQuestion int64 `db:"count_t_start_with_t_question" json:"count_t_start_with_t_question"` CountTStartWithTQuestion int64 `db:"count_t_start_with_t_question" json:"count_t_start_with_t_question"`
CountTResult int64 `db:"count_t_result" json:"count_t_result"` CountTResult int64 `db:"count_t_result" json:"count_t_result"`
CountStartTrue_2 int64 `db:"count_start_true_2" json:"count_start_true_2"` CountStartTrue_2 int64 `db:"count_start_true_2" json:"count_start_true_2"`
ResultsQuestionTitle string `db:"results_question_title" json:"results_question_title"` ResultsTitle string `db:"results_title" json:"results_title"`
ResultsPercentage int32 `db:"results_percentage" json:"results_percentage"` ResultsPercentage int32 `db:"results_percentage" json:"results_percentage"`
QuestionsQuestionTitle string `db:"questions_question_title" json:"questions_question_title"` QuestionsTitle string `db:"questions_title" json:"questions_title"`
QuestionsAnswerContent sql.NullString `db:"questions_answer_content" json:"questions_answer_content"` AnswerContent sql.NullString `db:"answer_content" json:"answer_content"`
QuestionsPercentage int32 `db:"questions_percentage" json:"questions_percentage"` QuestionsPercentage int32 `db:"questions_percentage" json:"questions_percentage"`
} }
@ -1692,10 +1692,10 @@ func (q *Queries) QuestionsStatistics(ctx context.Context, arg QuestionsStatisti
&i.CountTStartWithTQuestion, &i.CountTStartWithTQuestion,
&i.CountTResult, &i.CountTResult,
&i.CountStartTrue_2, &i.CountStartTrue_2,
&i.ResultsQuestionTitle, &i.ResultsTitle,
&i.ResultsPercentage, &i.ResultsPercentage,
&i.QuestionsQuestionTitle, &i.QuestionsTitle,
&i.QuestionsAnswerContent, &i.AnswerContent,
&i.QuestionsPercentage, &i.QuestionsPercentage,
); err != nil { ); err != nil {
return nil, err return nil, err