Project

General

Profile

Refactor #22091

Minor Active Record usage tweak

Added by Tom Copeland almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Bugzilla link:
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.

Associated revisions

Revision ca799075 (diff)
Added by Tom Copeland almost 3 years ago

Fixes #22091 - Minor Active Record usage tweak (#5124)

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.

History

#1 Updated by Tom Copeland almost 3 years ago

  • Tracker changed from Bug to Refactor

#2 Updated by Tom Copeland almost 3 years ago

  • Priority changed from Normal to Low

#3 Updated by Tom Copeland almost 3 years ago

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

#4 Updated by Tomer Brisker almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 296
  • Assignee set to Tom Copeland
  • Category set to Database

Also available in: Atom PDF