{
"query_block": {
"select_id": 1,
"table": {
"table_name": "items",
"access_type": "ref",
"possible_keys": ["product_id"],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100,
"attached_condition": "items.`status` = 'A' and (items.date_from <= 1773334800 and items.date_to >= 1773334800 or items.date_from = 0 and items.date_to >= 1773334800 or items.date_to = 0 and items.date_from <= 1773334800 or items.date_from = 0 and items.date_to = 0)"
},
"table": {
"table_name": "descr",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "10",
"used_key_parts": ["chain_id", "lang_code"],
"ref": ["vietpom_dev.items.chain_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descr.lang_code = 'vi')"
}
}
}
| chain_id | product_id | products | modifier | modifier_type | date_from | date_to | display_in_promotions | status | name | description |
|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 75 | a:3:{i:2022869272;a:4:{s:10:"product_id";s:2:"75";s:6:"amount";s:1:"1";s:13:"modifier_type";s:8:"by_fixed";s:8:"modifier";d:0;}i:1768101828;a:4:{s:10:"product_id";s:2:"77";s:6:"amount";s:1:"1";s:13:"modifier_type";s:8:"by_fixed";s:8:"modifier";d:0;}i:103019947;a:4:{s:10:"product_id";s:2:"78";s:6:"amount";s:1:"1";s:13:"modifier_type";s:8:"by_fixed";s:8:"modifier";d:0;}} | 0.000 | by_fixed | 0 | 0 | N | A | Liposic Bundle | <p>Bundle for Liposic</p> |