Open4
apexでよく忘れて調べること
String
String q = 'ほげ'
+ 'ふが';
string → date
Date.parse('2023/05/12')
sObject
recordId.getSObjectType() == Account.sObjectType
SObject obj = (SObject)Type.forName('Account').newInstance();
schema
Map<String,Schema.RecordTypeInfo> rtMapByDevName =
Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName();