2014-02-25から1日間の記事一覧
オブジェクトがレコードとしてDBに登録されるとIDが取得できるようになる。 Account a = new Account( name = 'テストアカウント' ); System.debug(a.id); // これはnull insert a; System.debug(a.id); // これはID(18桁の文字列)が返る へー。 新たにSOQL…
オブジェクトがレコードとしてDBに登録されるとIDが取得できるようになる。 Account a = new Account( name = 'テストアカウント' ); System.debug(a.id); // これはnull insert a; System.debug(a.id); // これはID(18桁の文字列)が返る へー。 新たにSOQL…