Active
Project:
Drupal core
Version:
main
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2019 at 13:27 UTC
Updated:
6 Dec 2019 at 15:16 UTC
Jump to comment: Most recent
For custom/contrib database drivers and extensions it is very difficult implement $connection->query() and $connection->query_range() queries.
Change all $connection->query() and $connection->query_range() to $connection->select() queries.
no
no
no
todo
Comments
Comment #2
mondrakeThis was also discussed in #2994904: Convert query('SELECT ... FROM {xxx}') to select('xxx')->... in tests, see #8 for example, but finally rejected.
Comment #3
daffie commentedDiscussed with @alexpott on Slack. It was his idea. We were discussing how to best inform contrib/other developers how not to use db_like() any more.
Comment #4
andypostComment #5
daffie commented@andypost: Could you explain why you think #2988018: [PP-1] Performance issues with path alias generated queries on PostgreSQL is related to this issue.
Comment #6
andypost@daffie because using query with hook alter will slow it down much more