Skip to content

Avoid count(*) query in management command. - #145

Merged
mtyaka merged 2 commits into
masterfrom
mtyaka/copy-course-ids-management-without-count
Mar 21, 2017
Merged

Avoid count(*) query in management command.#145
mtyaka merged 2 commits into
masterfrom
mtyaka/copy-course-ids-management-without-count

Conversation

@mtyaka

@mtyaka mtyaka commented Feb 25, 2017

Copy link
Copy Markdown
Member

This modifies the management command introduced in #143 to avoid a COUNT(*) query for performance reasons.

Testing instructions: Please see #143

Reviewers:

@maxrothman

Copy link
Copy Markdown

This looks good assuming you've tested it.

@mtyaka
mtyaka force-pushed the mtyaka/copy-course-ids-management-without-count branch from f0ab075 to 4c2009b Compare March 21, 2017 09:07
@mtyaka
mtyaka merged commit a7c8221 into master Mar 21, 2017
@mtyaka
mtyaka deleted the mtyaka/copy-course-ids-management-without-count branch March 21, 2017 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants