Model
Country
Magento\Directory\Model\ResourceModel\Country
What it does
This resource model handles database operations for country data in Magento 2.
Developers use it to load country information from the directory_country table, particularly when they need to retrieve country details by ISO 2-letter or 3-letter country codes instead of the country ID.
Public Methods
- loadByCode()