Currently we have in the SelectInterface the following methods: join(), innerJoin(), leftJoin() and rightJoin(). They are non-fluent and that makes creating queries with them less beautiful and less readable. So, from:
$query = db_select('node', 'n')
->fields('n', array('nid'))
->condition('n.language', $langcode);
$query->join('field_data_field_home_code', 'hc', 'hc.entity_id = n.nid);
$nids = $query
->condition('hc.field_home_code_value', $house_code)
->execute()
->fetchCol();
To:
$nids = db_select('node', 'n')
->fields('n', array('nid'))
->condition('n.language', $langcode);
->join('field_data_field_home_code', 'hc', 'hc.entity_id = n.nid);
->condition('hc.field_home_code_value', $house_code)
->execute()
->fetchCol();
None.
Yes. Two methods are added to Drupal\Core\Database\Query\SelectInterface (leftInnerJoin() and leftOuterJoin()). Three methods are deprecated on Drupal\Core\Database\Query\SelectInterface (join(), innerJoin(), leftJoin()).
None.
Needs work
11.0 π₯
Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.
A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.