{
"query_block": {
"select_id": 1,
"table": {
"table_name": "links",
"access_type": "ref",
"possible_keys": ["PRIMARY", "bundle_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100,
"attached_condition": "links.product_id <=> 230 and links.show_on_product_page = 'Y'"
},
"table": {
"table_name": "bundles",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["bundle_id"],
"ref": ["c.links.bundle_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "bundles.`status` = 'A' and if(bundles.date_from,bundles.date_from <= 1773364034,1) and if(bundles.date_to,bundles.date_to >= 1773364034,1)"
},
"table": {
"table_name": "descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "10",
"used_key_parts": ["bundle_id", "lang_code"],
"ref": ["c.links.bundle_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descriptions.lang_code = 'tr')"
}
}
}
| bundle_id | company_id | products | date_from | date_to | display_in_promotions | status | linked_promotion_id | name | storefront_name | description | lang_code | product_id | amount | show_on_product_page | all_variants |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3 | 1 | a:3:{i:0;a:5:{s:10:"product_id";i:237;s:6:"amount";i:1;s:13:"modifier_type";s:13:"by_percentage";s:8:"modifier";i:33;s:20:"show_on_product_page";s:1:"Y";}i:1;a:5:{s:10:"product_id";i:230;s:6:"amount";i:1;s:13:"modifier_type";s:13:"by_percentage";s:8:"modifier";i:33;s:20:"show_on_product_page";s:1:"Y";}i:2;a:5:{s:10:"product_id";i:234;s:6:"amount";i:1;s:13:"modifier_type";s:13:"by_percentage";s:8:"modifier";i:33;s:20:"show_on_product_page";s:1:"Y";}} | 0 | 0 | Y | A | 27 | Camping bundle | Camping bundle | 33% off everything a traveler needs | tr | 230 | 1 | Y | N |