{
"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": 4,
"filtered": 99.86836243,
"index_condition": "cscart_attachments.object_type = 'product'",
"attached_condition": "cscart_attachments.object_type <=> 'product' and cscart_attachments.object_id <=> 65836 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 21015 | product | 65836 | M | 0 | The-Finishing-Touch-250324__1_.pdf | 1067069 | 0 | A | 4 | 1754334583 | Barn Light Electric Finishes |
| 21033 | product | 65836 | M | 0 | SPS-0759_-_Carver_Light_Fixture_-_Rev_E__1_.pdf | 175172 | 0 | A | 1 | 1754409662 | Carver LED Wood Diffuser Light |
| 21346 | product | 65836 | M | 0 | INS-0195__Carver_Wall_Sconce_Rev_B_.pdf | 139693 | 0 | A | 7 | 1761234523 | Carver LED Wood Diffuser Light |
| 21170 | product | 65836 | M | 0 | BLE-W-CVR-LED.rfa | 1368064 | 0 | A | 10 | 1746540780 | Carver LED Wooden Diffuser Light |