I wanna know the type of environment my salesforce org uses. I ran the following query:
SELECT Id, InstanceName, IsSandbox, Name, OrganizationType FROM Organization
It says the organization type is 'Enterprise Edition' but I want to know whether this sandbox is a 'developer sandbox' or 'developer pro' sandbox.
I have no information on how and when this sandbox was created and also 'Organization.Name' does not work for the query.
I have already gone through this https://salesforce.stackexchange.com/questions/110760/how-to-identify-the-type-of-sandbox-in-apex
but since I dont have any information on how the sandbox was created, I think I am not able to query Organization.Name in my query.