There's already an item in the upgrade docs for "the entire database layer has been rewritten, here's the handbook pages for it". I don't think we need to separately mention each function that is removed or added.
I wasn't able to find any docs on how to replace db_placeholders when upgrading from D6 -> D7. I'm assuming we replace it using the :myvariable type of syntax. But should there be documentation on the 6 -> 7 upgrade guide (http://drupal.org/node/224333) ?
You can simply use an array and it will work. See chapter "Placeholder arrays" at http://drupal.org/node/310072. I've extended the basic example in the upgrade docs to cover this case but note that not every change of the new DB API can be documented there, there are simply too many.
Comments
Comment #1
catchComment #2
Crell commentedI think it is appropriate that catch get to do the honors, given the work he put in to make it obsolete. :-)
Yay!
Comment #3
damien tournoud commentedYay!
Comment #4
dries commentedYay, Sir!
Committed to CVS HEAD. Marking 'code needs work' until the drupal.org upgrade documentation has been updated.
Comment #5
Crell commentedThere's already an item in the upgrade docs for "the entire database layer has been rewritten, here's the handbook pages for it". I don't think we need to separately mention each function that is removed or added.
Comment #7
hadsie commentedI wasn't able to find any docs on how to replace db_placeholders when upgrading from D6 -> D7. I'm assuming we replace it using the :myvariable type of syntax. But should there be documentation on the 6 -> 7 upgrade guide (http://drupal.org/node/224333) ?
Comment #8
berdirYou can simply use an array and it will work. See chapter "Placeholder arrays" at http://drupal.org/node/310072. I've extended the basic example in the upgrade docs to cover this case but note that not every change of the new DB API can be documented there, there are simply too many.