Go to the source code of this file.
Packages | |
package | Mage_Catalog |
Variables | |
$installer = $this | |
$select | |
$rowSet = $installer->getConnection()->fetchAll($select) |
$installer = $this |
Definition at line 27 of file mysql4-upgrade-0.7.33-0.7.34.php.
$rowSet = $installer->getConnection()->fetchAll($select) |
Definition at line 42 of file mysql4-upgrade-0.7.33-0.7.34.php.
$select |
Initial value:
$installer->getConnection()->select() ->from($installer->getTable('catalog_category_product'), array( 'category_id', 'product_id', 'position', 'cnt' => 'COUNT(product_id)' )) ->group('category_id') ->group('product_id') ->having($installer->getConnection()->quoteInto('cnt > ?', 1))
Definition at line 32 of file mysql4-upgrade-0.7.33-0.7.34.php.