Prefer Passing by Reference over Breaking Chaining in DBTNG

Created on 27 October 2012, almost 12 years ago
Updated 3 August 2023, about 1 year ago

Before:

$query = db_select("baz", "baz");
$join_name = $query->join("foo", "foo", "foo.bar = baz.quux");
//... using $join_name
$result = $query->execute();

After:

$result = db_select("baz", "baz");
  ->join("foo", "foo", $join_name, "foo.bar = baz.quux")
  //... using $join_name
  ->execute()
;
✨ Feature request
Status

Postponed: needs info

Version

9.5

Component
DatabaseΒ  β†’

Last updated less than a minute ago

  • Maintained by
  • πŸ‡³πŸ‡±Netherlands @daffie
Created by

πŸ‡ΊπŸ‡ΈUnited States Gaelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024