Bug Report #2244

ORM with method should use LEFT join

Added by John Heathco about 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:10/17/2009
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Modules:ORM
Target version:v3.0.2
Resolution:fixed Points:

Description

See subject.

History

#1 Updated by John Heathco about 5 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

#2 Updated by Dmitry T. about 5 years ago

  • Status changed from Closed to Feedback

Maybe it's better to allow choosing join type?
Instead of
public function with($target_path)
use
public function with($target_path, $join_type = 'LEFT')?

#3 Updated by Woody Gilk about 5 years ago

  • Target version set to v3.1.0

#4 Updated by Woody Gilk about 5 years ago

  • Target version changed from v3.1.0 to v3.0.2

#5 Updated by John Heathco about 5 years ago

  • Status changed from Feedback to Closed

I believe it should always use LEFT JOINs. If you want other types of joins, it is best to write a custom method.

#6 Updated by Woody Gilk almost 5 years ago

  • Project changed from Kohana v3.x to 78
  • Category deleted (Modules:ORM)
  • Target version deleted (v3.0.2)

#7 Updated by Woody Gilk almost 5 years ago

  • Project changed from 78 to Kohana v3.x

#8 Updated by Woody Gilk almost 5 years ago

  • Category set to Modules:ORM

#9 Updated by Woody Gilk almost 5 years ago

  • Target version set to v3.0.2

Also available in: Atom PDF