Project

General

Profile

Actions

Refactor #22091

closed

Minor Active Record usage tweak

Added by Tom Copeland over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Using a relation here can be a little faster since Active Record will
use an inequality comparison rather than an IN clause if 'types' has
only one element.

Actions #1

Updated by Tom Copeland over 6 years ago

  • Tracker changed from Bug to Refactor
Actions #2

Updated by Tom Copeland over 6 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by Tom Copeland over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Tomer Brisker over 6 years ago

  • Category set to Database
  • Assignee set to Tom Copeland
  • translation missing: en.field_release set to 296
Actions

Also available in: Atom PDF