Link to home
Start Free TrialLog in
Avatar of Silas2
Silas2

asked on

Zend SQL bound Parameters-raw SQL

I'm using Magento and when I log the queries I get , e.g
SQL: INSERT INTO `catalog_product_entity_varchar` (`entity_type_id`,`attribute_id`,`store_id`,`entity_id`,`value`) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?) 
BIND: array (
  0 => 4,
  1 => 85,
  2 => 0,
  3 => 243,
  4 => '/b/b/bb1052wrb_6.gif',
  5 => 4,
  6 => 86, etc, etc

Open in new window

Is there a handy-dandy way of getting the sql with the placeholders replaced by the values so i can tug it apart easily?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.