枠幅に合わせる[グリッドに合わせる]



kinkun's blog
枠幅に合わせる[グリッドに合わせる]
platform-developer-i-certification-maintenance-winter-24
public class QueryContact {
public static Id getContactID(String lastName, String title) {
try {
Contact myContact = Database.query(
'SELECT ID FROM Contact WHERE lastName = :lastName AND title = :title LIMIT 1'
);
return myContact.Id;
} catch (Exception ex) {
return null;
}
}
public static Id getContactIDWithBinds(Map<String, Object> bindVars) {
//do not modify any code above this line
//implement the logic that will use bindVars to retrieve the contact's ID
String queryString =
'SELECT ID FROM Contact WHERE lastName = :lastName AND title = :title LIMIT 1';
List<Contact> Contacts = Database.queryWithBinds(
queryString,
bindVars,
AccessLevel.USER_MODE
);
return Contacts[0].Id;
}
}
administrator-certification-maintenance-spring-24
https://www.mamp.info/en/downloads
install参考
https://note.com/88gram/n/n844a09fc4cb4#4ed8da0d-67a4-4e95-9a76-f6a6b6145d04
http://localhost/phpMyAdmin5/