{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_attachments.position",
"table": {
"table_name": "cscart_attachments",
"access_type": "ref",
"possible_keys": ["object_type", "type"],
"key": "object_type",
"key_length": "95",
"used_key_parts": ["object_type", "object_id"],
"ref": ["const", "const"],
"rows": 5,
"filtered": 99.86836243,
"index_condition": "cscart_attachments.object_type = 'product'",
"attached_condition": "cscart_attachments.object_type <=> 'product' and cscart_attachments.object_id <=> 65154 and cscart_attachments.`type` = 'M' and (cscart_attachments.usergroup_ids = '' or find_in_set(0,cscart_attachments.usergroup_ids) or find_in_set(1,cscart_attachments.usergroup_ids)) and cscart_attachments.`status` = 'A'"
}
}
},
"table": {
"table_name": "cscart_attachment_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["attachment_id", "lang_code"],
"ref": ["cscart_migrate.cscart_attachments.attachment_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_attachment_descriptions.lang_code = 'en')"
}
}
}
| attachment_id | object_type | object_id | type | position | filename | filesize | usergroup_ids | status | category | last_updated | description |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 20738 | product | 65154 | M | 0 | MKT-0021_-_Optional_Accessories_-_REV_F.pdf | 11539937 | 0 | A | 4 | 1682349295 | Optional Accessories |
| 18600 | product | 65154 | M | 0 | SPS-0268_-_The_Seaside_Post_Mount_Collection_-_Rev_07.09.19.pdf | 310925 | 0 | A | 1 | 1588616462 | Seaside LED Single Post Mount Light |
| 18601 | product | 65154 | M | 0 | MKT-0025_-_Barn_Light_Electric_Finishes_-_REV_A.pdf | 2413279 | 0 | A | 4 | 1584115548 | Barn Light Electric Finishes |
| 18603 | product | 65154 | M | 0 | INS-0030_-_LED_Post_Mount_Fixture_Rev_G.pdf | 300295 | 0 | A | 7 | 1693411460 | LED Post Mount Light Installation Instructions |
| 18604 | product | 65154 | M | 0 | INS-0031_-_Post_-_Rev_E.pdf | 79708 | 0 | A | 7 | 1584115596 | Post Mount Burial Pole Installation Intructions |