-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace RawSQL with ORM queries #36
Comments
atodorov
added a commit
that referenced
this issue
Jun 25, 2018
atodorov
added a commit
that referenced
this issue
Jun 26, 2018
atodorov
added a commit
that referenced
this issue
Jul 1, 2018
- remove RawSQL.num_case_bugs - not in use at all - replace RawSQL.num_cases with an annotated Count - replace RawSQL.num_runs with an annotated Count - replace RawSQL.num_plans with an annotated Count NOTE: num_children (aka RawSQL.num_plans) is removed from the query used in advanced search b/c I think the value is not used at all
atodorov
added a commit
that referenced
this issue
Jul 1, 2018
case_runs_count_by_status_under_run & custom_details_case_run_count were never used in the code. the rest of the queries are used in Overall Report and are rewriten to use a sub-query and annotated counts.
atodorov
added a commit
that referenced
this issue
Jul 2, 2018
- remove RawSQL.num_case_bugs - not in use at all - replace RawSQL.num_cases with an annotated Count - replace RawSQL.num_runs with an annotated Count - replace RawSQL.num_plans with an annotated Count NOTE: num_children (aka RawSQL.num_plans) is removed from the query used in advanced search b/c I think the value is not used at all
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: