Skip to content

Make geting question position more efficient #3

@gauthierm

Description

@gauthierm

This was moved from a loader to a get() method in SVN r77983 due to changes in the relationship between quizzes and questions.

Mike points out its much slower:

This method potentially makes pages much slower (1 query per question when listing questions with positions). Can it be done with a loader that is cacheable and efficiently loadable in SwatDBDataObject?

So let's do that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions