{
"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 <=> 64947 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 16001 | product | 64947 | M | 0 | SPS-0493_-_Downtown_Minimalist_Wooden_Socket_3-Light_Chandelier_-_Rev_C.pdf | 143992 | 0 | A | 1 | 1729184870 | Downtown Minimalist Wooden Socket 3-Light Pendant |
| 16002 | product | 64947 | M | 0 | INS-0032_-_Vanity_Pendant_-_Rev_B.pdf | 154987 | 0 | A | 7 | 1576773445 | Downtown Minimalist Wooden Socket 3-Light Pendant Installation Instructions |
| 15786 | product | 64947 | M | 0 | MKT-0025_-_Barn_Light_Electric_Finishes_-_REV_B.pdf | 2418240 | 0 | A | 4 | 1605204945 | Barn Light Electric Finishes |
| 15788 | product | 64947 | M | 0 | MKT-0009_-_Cord_Pendant_Specifications_-_REV_C.pdf | 669855 | 0 | A | 4 | 1570543504 | Cord Hung Pendant Specifications |
| 19436 | product | 64947 | M | 0 | Barn_Light_Electric_Timber___Ore_Collection.pdf | 1277647 | 0 | A | 4 | 1600805126 | Barn Light Electric Timber & Ore Collection |