Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Similar to #2226501: Add execute() to the SelectInterface, I found some more methods in the \Drupal\Core\Database\Query\Select
class which aren't listed in \Drupal\Core\Database\Query\SelectInterface
:
havingConditions()
havingArguments()
having()
havingCompile()
havingIsNull()
havingIsNotNull()
havingExists()
havingNotExists()
Any particular reason for those missing?
Beta phase evaluation
Issue category | Bug because an incomplete interface will make work in contrib difficult |
---|---|
Unfrozen changes | Unfrozen because it only changes the SelectInterface to include all necessary methods |
Prioritized changes | The main goal of this issue is DX. |
Comment | File | Size | Author |
---|---|---|---|
#3 | 2311885-3--add_having_methods_to_interface.patch | 7.39 KB | drunken monkey |
Comments
Comment #1
drunken monkeyThe attached patch would fix this.
Comment #3
drunken monkeyOops, makes sense.
Comment #4
jhedstromI think these do belong on the interface. Patch still applies.
I added a beta phase evaluation to the issue summary.
Comment #7
alexpottCommitted 3d57852 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation for to the issue summary.