app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.33-0.7.34.php File Reference

Go to the source code of this file.

Packages

package  Mage_Catalog

Variables

 $installer = $this
 $select
 $rowSet = $installer->getConnection()->fetchAll($select)


Variable Documentation

$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.


Generated on Sat Jul 4 17:22:26 2009 for Magento by  doxygen 1.5.8