update sqlc gen
This commit is contained in:
parent
48725054c7
commit
0dd33625c7
@ -1579,7 +1579,6 @@ WITH Funnel AS (
|
||||
COUNT(DISTINCT a.session) FILTER (WHERE a.start = FALSE) AS count_start_false,
|
||||
COUNT(DISTINCT a.session) FILTER (WHERE a.start = TRUE) AS count_start_true,
|
||||
COUNT(DISTINCT CASE WHEN a.result = FALSE AND qid_true_result IS NOT NULL THEN a.session END) AS count_f_result_with_t_question,
|
||||
COUNT(DISTINCT CASE WHEN a.start = TRUE AND qid_true_result IS NULL THEN a.session END) AS count_t_start_with_t_question,
|
||||
COUNT(DISTINCT a.session) FILTER (WHERE a.result = TRUE) AS count_t_result
|
||||
FROM
|
||||
answer a
|
||||
@ -1665,7 +1664,6 @@ SELECT
|
||||
Funnel.count_start_false,
|
||||
Funnel.count_start_true,
|
||||
Funnel.count_f_result_with_t_question,
|
||||
Funnel.count_t_start_with_t_question,
|
||||
Funnel.count_t_result,
|
||||
Results.question_title AS results_title,
|
||||
Results.percentage AS results_percentage,
|
||||
@ -1690,7 +1688,6 @@ type QuestionsStatisticsRow struct {
|
||||
CountStartFalse int64 `db:"count_start_false" json:"count_start_false"`
|
||||
CountStartTrue int64 `db:"count_start_true" json:"count_start_true"`
|
||||
CountFResultWithTQuestion int64 `db:"count_f_result_with_t_question" json:"count_f_result_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"`
|
||||
ResultsTitle string `db:"results_title" json:"results_title"`
|
||||
ResultsPercentage int32 `db:"results_percentage" json:"results_percentage"`
|
||||
@ -1712,7 +1709,6 @@ func (q *Queries) QuestionsStatistics(ctx context.Context, arg QuestionsStatisti
|
||||
&i.CountStartFalse,
|
||||
&i.CountStartTrue,
|
||||
&i.CountFResultWithTQuestion,
|
||||
&i.CountTStartWithTQuestion,
|
||||
&i.CountTResult,
|
||||
&i.ResultsTitle,
|
||||
&i.ResultsPercentage,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user