+ Start a Discussion
Suraj GharatSuraj Gharat 

How does Salesforce handle multiple versions?

How does Salesforce handle multiple API versions? Does it maintain separate tables/classes for each available API version and at the run-time loads the specific required version copy of the table/class ?

Similarly, if an org upgrades its installed package to higher version, how does Salesforce make both the version available to the subscribers org? Does it maintain two copies of tables/classes that come into the package, one for each version ?