Project

General

Custom queries

Profile

Actions

Refactor #22091

closed

Minor Active Record usage tweak

Added by Tom Copeland over 7 years ago. Updated almost 7 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.

#1

Updated by Tom Copeland over 7 years ago

  • Tracker changed from Bug to Refactor
#2

Updated by Tom Copeland over 7 years ago

  • Priority changed from Normal to Low
#3

Updated by Tom Copeland over 7 years ago

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

Updated by Tomer Brisker over 7 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