Prefer Passing by Reference over Breaking Chaining in DBTNG

Created on 27 October 2012, over 12 years ago
Updated 3 August 2023, almost 2 years 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 1 day 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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    If still a valid feature request wonder if the IS could be updated please, to include the benefit of such a change

    Thanks all!

  • Status changed to Closed: works as designed 5 days ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    There has bee no response to #21 in over 1 year. So I am going to close this issue.

    The proposal doesn't met the Criteria for evaluating proposed changes β†’ . In this case, there is not demonstrated demand and support for the change.

    If there is interest in this re-open the issue and add a comment. Or open a new issue and reference this one.

Production build 0.71.5 2024