I have inherited a Drupal 6 site with some custom modules, all of which are making use of db_query()
. Now I’m porting the site with all its modules to Drupal 7, and consequently have to adjust most of the database queries to work with the new DBTNG abstraction layer.
That’s fine, but a very tedious task. Is there any automated way to do this, or a module to at least help you on the way?