Ticket #1548 (closed enhancement: fixed)

Opened 9 months ago

Last modified 9 months ago

use fetchOne instead of execute and custom code on Table::findOneBy

Reported by: jackbravo Owned by: jwage
Priority: minor Milestone: 1.0.4
Component: Attributes Version: 1.0.2
Severity: Keywords:
Cc: Has Test: no
Status: Pending Core Response Has Patch: no

Description

findOneBy is using custom code to return one record or false from a query.

this code is already present on the method Query::fetchOne, so it should use that instead of calling Query::execute

Change History

Changed 9 months ago by jwage

  • milestone changed from Unknown to 1.1.0

Changed 9 months ago by jwage

  • milestone changed from 1.1.0 to 1.0.4

Changed 9 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [5081]) [1.0, 1.1] fixes #1548

Note: See TracTickets for help on using tickets.