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.
Moving this over from #314464: Convert db_placeholders() to DBTNG
This patch takes all occurrences of db_placeholders() in static queries and makes them use just normal dbtng placeholders which now support arrays.
It doesn't touch dynamic queries built with concatenated strings, nor queries which are wrapped in db_rewrite_sql() - these will need to be converted to db_select() anyway.
Comment | File | Size | Author |
---|---|---|---|
placeholders.patch | 7.34 KB | catch | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.