{"id":12341,"date":"2020-12-06T15:50:58","date_gmt":"2020-12-06T06:50:58","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=12341"},"modified":"2023-05-28T08:29:34","modified_gmt":"2023-05-27T23:29:34","slug":"%e3%80%90%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%80%91%e3%80%8c%e6%8e%92%e4%bb%96%e5%88%b6%e5%be%a1%e3%80%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=12341","title":{"rendered":"\u3010\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3011\u300c\u6392\u4ed6\u5236\u5fa1\u300d\u306b\u3064\u3044\u3066"},"content":{"rendered":"<h2>\u6392\u4ed6\u5236\u5fa1\u3068\u306f\uff1f<\/h2>\n<p>\u8907\u6570\u4eba\u306e\u540c\u6642\u30a2\u30af\u30bb\u30b9\u3067\u30c7\u30fc\u30bf\u306e\u4e0d\u6574\u5408\u304c\u751f\u3058\u3066\u3057\u307e\u308f\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u6392\u4ed6\u5236\u5fa1\u306b\u306f\u4e3b\u306b\u4e0b\u8a182\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u697d\u89b3\u30ed\u30c3\u30af<\/li>\n<li>\u60b2\u89b3\u30ed\u30c3\u30af<\/li>\n<\/ul>\n<h2>\u697d\u89b3\u30ed\u30c3\u30af<\/h2>\n<p>\u300c\u6ec5\u591a\u306a\u3053\u3068\u3058\u3083\u4ed6\u8005\u306b\u3088\u308b\u66f4\u65b0\u306a\u3093\u3066\u8d77\u304d\u306a\u3044\u3060\u308d\u3046\u300d\u3068\u3044\u3046\u697d\u89b3\u7684\u306a\u524d\u63d0\u306e\u3082\u3068\u306b\u30ed\u30c3\u30af\u3092\u304b\u3051\u308b\u3053\u3068\u3002\u306a\u306e\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u4ed6\u8005\u306b\u3088\u308b\u66f4\u65b0\u304c\u983b\u7e41\u306b\u8d77\u3053\u308b\u3053\u3068\u304c\u898b\u8fbc\u307e\u308c\u308b\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u306f\u697d\u89b3\u30ed\u30c3\u30af\u306f\u5411\u304b\u306a\u3044\u3002\u300c\u51e6\u7406\u304c\u7d42\u308f\u3063\u3066\u304b\u3089\u300d\u3058\u3083\u306a\u3044\u3068\u4ed6\u8005\u3068\u7af6\u5408\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u5229\u7528\u8005\u306b\u3068\u3063\u3066\u306f\u30b9\u30c8\u30ec\u30b9\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f\u30c6\u30fc\u30d6\u30eb\u306b<span style=\"color: #ff0000;\"><strong>\u30ed\u30c3\u30af\u30ad\u30fc<\/strong><\/span>\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u3053\u306e\u30ed\u30c3\u30af\u30ad\u30fc\u3092\u5229\u7528\u3057\u3066\u4e0b\u8a18\u306e\u6d41\u308c\u3067\u5236\u5fa1\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u753b\u9762\u9077\u79fb\u6642\u306b\u4e00\u65e6\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3057\u3066\u30ed\u30c3\u30af\u30ad\u30fc\u3092\u5f97\u308b\u3002<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u304c\u753b\u9762\u4e0a\u3067\u66f4\u65b0\u60c5\u5831\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u304c\u66f4\u65b0\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001\u753b\u9762\u9077\u79fb\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u4e00\u81f4\u3057\u3066\u3044\u305f\u3089\u66f4\u65b0\u51e6\u7406\u3092\u5b9f\u65bd\u3059\u308b\u3002<\/li>\n<li>\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u767b\u9332\u30a8\u30e9\u30fc\u306b\u3057\u3066\u518d\u5ea6\u66f4\u65b0\u3092\u4fc3\u3059\u753b\u9762\u306b\u9077\u79fb\u3055\u305b\u308b\u3002<\/li>\n<\/ol>\n<h3>\u30ed\u30c3\u30af\u30ad\u30fc\u306e\u7a2e\u985e<\/h3>\n<h4>\u30d0\u30fc\u30b8\u30e7\u30f3<\/h4>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3044\u3046\u5217\u3092\u65b0\u305f\u306b\u4f5c\u308a\u305d\u3053\u3067\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/p>\n<h5>\u30e1\u30ea\u30c3\u30c8<\/h5>\n<ul>\n<li>\u78ba\u5b9f\u6027\u304c\u9ad8\u3044<\/li>\n<li>\u696d\u52d9\u30c7\u30fc\u30bf\u306b\u4f9d\u5b58\u3057\u306a\u3044<\/li>\n<\/ul>\n<h5>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h5>\n<ul>\n<li>\u65b0\u305f\u306b\u30ab\u30e9\u30e0\u304c\u5fc5\u8981<\/li>\n<li>\u66f4\u65b0\u6642\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u66f4\u65b0\u304c\u5fc5\u8981<\/li>\n<\/ul>\n<h4>\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7<\/h4>\n<p>\u66f4\u65b0\u5bfe\u8c61\u306e\u5217\u306e\u66f4\u65b0\u65e5\u6642\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/p>\n<h5>\u30e1\u30ea\u30c3\u30c8<\/h5>\n<ul>\n<li>\u65b0\u305f\u306b\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3002<\/li>\n<\/ul>\n<h5>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h5>\n<ul>\n<li>\u66f4\u65b0\u65e5\u6642\u306e\u7cbe\u5ea6\u304c\u4f4e\u3044\u5834\u5408\u306f\u78ba\u5b9f\u6027\u306b\u6b20\u3051\u308b\u3002<\/li>\n<\/ul>\n<h4>\u5168\u5217\u30c7\u30fc\u30bf<\/h4>\n<p>\u66f4\u65b0\u5bfe\u8c61\u306e\u5168\u5217\u306e\u30c7\u30fc\u30bf\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002\u30ab\u30e9\u30e0\u8ffd\u52a0\u3082\u3067\u304d\u305a\u3001\u66f4\u65b0\u65e5\u6642\u3082\u8ffd\u52a0\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u8981\u4ef6\u306e\u5834\u5408\u306f\u3053\u308c\u3092\u9078\u3076\u3057\u304b\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h5>\u30e1\u30ea\u30c3\u30c8<\/h5>\n<ul>\n<li>\u30ab\u30e9\u30e0\u8ffd\u52a0\u304c\u4e0d\u8981<\/li>\n<li>\u6392\u4ed6\u5236\u5fa1\u306e\u305f\u3081\u306b\u7279\u5225\u306a\u66f4\u65b0\u3082\u4e0d\u8981<\/li>\n<\/ul>\n<h5>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h5>\n<ul>\n<li>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u60aa\u3044<\/li>\n<\/ul>\n<h2>\u697d\u89b3\u30ed\u30c3\u30af\u306eSQL\u306e\u6d41\u308c<\/h2>\n<p>\u697d\u89b3\u30ed\u30c3\u30af\u306eSQL\u767a\u884c\u306b\u304a\u3044\u3066\u30822\u7a2e\u985e\u306e\u6d41\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u306b\u3082\u30e1\u30ea\u30c7\u30e1\u304c\u3042\u308a\u307e\u3059\u304c\u57fa\u672c\u7684\u306b\u306f<span style=\"color: #ff0000;\"><strong>\u300cSELECT(FOR UPDATE)\u2192UPDATE\u300d\u65b9\u5f0f\u304c\u9078\u3070\u308c\u308b\u3053\u3068\u304c\u591a\u3044<\/strong><\/span>\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>SELECT(FOR UPDATE)\u2192UDPATE<\/h3>\n<p>SELECT\u3057\u3066\u554f\u984c\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308c\u3070UPDATE\u3057\u307e\u3059\u3002SELECT\u3059\u308b\u969b\u306b\u300cFOR UPDATE\u300d\u3068\u3064\u3051\u308b\u3053\u3068\u3067\u4ed6\u306e\u4eba\u306f\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>UPDATE where \u30d0\u30fc\u30b8\u30e7\u30f3=xx<\/h3>\n<h4>\u30e1\u30ea\u30c3\u30c8<\/h4>\n<p>SQL\u767a\u884c\u56de\u6570\u3092\u6e1b\u3089\u305b\u308b\u3002<\/p>\n<h4>\u30c7\u30e1\u30ea\u30c3\u30c8<\/h4>\n<ul>\n<li>\u696d\u52d9\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304b\u3089\u306b\u306a\u308a\u3001\u66f4\u65b0\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u5f8c\u306a\u306e\u3067\u696d\u52d9\u30c1\u30a7\u30c3\u30af\u304c\u7121\u99c4\u306b\u306a\u308b\u3002<\/li>\n<li>\u66f4\u65b0\u7d50\u679c\u304c0\u4ef6\u3060\u3063\u305f\u5834\u5408\u306b\u696d\u52d9\u51e6\u7406\u4e0a\u306e\u7406\u7531\u306b\u3088\u308b\u3082\u306e\u304b\u3001\u30ed\u30c3\u30af\u30ad\u30fc\u306b\u3088\u308b\u3082\u306e\u304b\u306e\u5224\u65ad\u304c\u96e3\u3057\u3044\u3002\uff08\u4f8b\u3048\u3070\u3001\u305d\u3082\u305d\u3082\u30c7\u30fc\u30bf\u304c\u306a\u304b\u3063\u305f\u5834\u5408\u7b49\uff09<\/li>\n<\/ul>\n<h2>\u60b2\u89b3\u30ed\u30c3\u30af<\/h2>\n<p>\u697d\u89b3\u30ed\u30c3\u30af\u3068\u9055\u3063\u3066\u4f5c\u696d\u958b\u59cb\u6642\u306b\u7af6\u5408\u3092\u691c\u77e5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u5229\u7528\u8005\u306e\u30b9\u30c8\u30ec\u30b9\u304c\u6e1b\u308a\u307e\u3059\u3002\u60b2\u89b3\u30ed\u30c3\u30af\u306e\u6d41\u308c\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u5148\u306b\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u4eba\u304c\u66f4\u65b0\u306e\u6a29\u5229\u3092\u5f97\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u4f5c\u696d\u8005A\u304c\u66f4\u65b0\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u3059\u3067\u306b\u8ab0\u304b\u306b\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3002\uff08SELECT FOR UPDATE\uff09<\/li>\n<li>\u8ab0\u304b\u306b\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u4f5c\u696d\u8005A\u306f\u5bfe\u8c61\u306e\u30ec\u30b3\u30fc\u30c9\u306b\u30ed\u30c3\u30af\u3092\u304b\u3051\u308b\u3002<\/li>\n<li>\u4f5c\u696d\u8005B\u304c\u4e00\u89a7\u753b\u9762\u3092\u958b\u304f\uff08\u3082\u3057\u304f\u306f\u3059\u3067\u306b\u958b\u3044\u3066\u3044\u308b\u72b6\u614b\u306a\u3089\u3070\u30a2\u30af\u30bb\u30b9\u3059\u308b\uff09\u3068\u8ab0\u304b\u304c\u66f4\u65b0\u4e2d\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002<\/li>\n<li>\u4f5c\u696d\u8005A\u306f\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u306e\u304c\u81ea\u5206\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u30ed\u30c3\u30af\u306e\u89e3\u653e\u53ca\u3073\u3001\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u51e6\u7406\u3092\u5b9f\u65bd\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u306a\u304a\u30014\u3067\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u306e\u304c<span style=\"color: #ff0000;\"><strong>\u81ea\u5206\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u7406\u7531\u3068\u3057\u3066\u306f\u3001\u904b\u7528\u7b49\u3067\u52dd\u624b\u306b\u8ab0\u304b\u304c\u66f4\u65b0\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<h3>\u60b2\u89b3\u30ed\u30c3\u30af\u306e\u6ce8\u610f\u70b9<\/h3>\n<p>\u9014\u4e2d\u3067\u66f4\u65b0\u51e6\u7406\u3092\u3084\u3081\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u3067\u3082\u30ed\u30c3\u30af\u3092\u89e3\u9664\u72b6\u614b\u306b\u3059\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3002\u8272\u3005\u306a\u5834\u9762\u304c\u60f3\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u4f5c\u696d\u8005\u304c\u4e00\u89a7\u753b\u9762\u306b\u623b\u3063\u305f\u5834\u5408<\/li>\n<li>\u4f5c\u696d\u8005\u304c\u300c\u9589\u3058\u308b\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u5834\u5408<\/li>\n<li>\u4f5c\u696d\u8005\u304c\u30ed\u30b0\u30aa\u30d5\u3057\u305f\u5834\u5408<\/li>\n<li>\u4f5c\u696d\u8005\u304cPC\u3092\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u305f\u5834\u5408<\/li>\n<li>\u4f5c\u696d\u8005\u304c\u30bb\u30c3\u30b7\u30e7\u30f3\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u305f\u5834\u5408<\/li>\n<\/ul>\n<p>\u4e0a\u8a18\u306e\u4e2d\u306b\u306f\u3069\u3046\u3057\u3088\u3046\u3082\u306a\u3044\u5834\u5408\u3082\u3042\u308b\u306e\u3067\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u5bfe\u51e6\u6cd5\u304c\u53d6\u3089\u308c\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u7ba1\u7406\u8005\u304c\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3067\u304d\u308b\u3088\u3046\u306a\u753b\u9762\u3092\u7528\u610f\u3059\u308b\u3002<\/li>\n<li>\u6df1\u591c\u306e\u30d0\u30c3\u30c1\u3067\u5168\u30ed\u30c3\u30af\u3092\u81ea\u52d5\u3067\u89e3\u9664\u3059\u308b\u3002<\/li>\n<li>\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u3067\u3042\u308c\u3070\u518d\u5ea6\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u4fdd\u6301\u3057\u3066\u3044\u308b\u30ed\u30c3\u30af\u3092\u5168\u3066\u89e3\u9664\u3059\u308b\u3002<\/li>\n<li>\u9577\u6642\u9593\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u81ea\u52d5\u7684\u306b\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3059\u308b\u4ed5\u7d44\u307f<\/li>\n<\/ol>\n<p>\u5b9f\u969b\u306b\u306f\u3001\u30ed\u30c3\u30af\u306e\u89e3\u9664\u306b\u6642\u9593\u3092\u304b\u3051\u305f\u304f\u306a\u3044\u5834\u5408\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u306e\u3067\u30011\u304b3\u304c\u63a1\u7528\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>\u60b2\u89b3\u30ed\u30c3\u30af\u3067\u7528\u610f\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u306e\u5217<\/h3>\n<p>\u60b2\u89b3\u30ed\u30c3\u30af\u306e\u5bfe\u8c61\u306e\u30c7\u30fc\u30bf\u306b\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u5217\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u304c\u4e00\u822c\u7684\u3067\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc<\/li>\n<li>\u30ed\u30c3\u30af\u306e\u72b6\u614b<\/li>\n<li>\u3069\u306e\u7aef\u672b\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u304b\uff08\u30bb\u30c3\u30b7\u30e7\u30f3ID\u7b49\uff09<\/li>\n<\/ul>\n<h2>\u697d\u89b3\u30ed\u30c3\u30af\u3068\u60b2\u89b3\u30ed\u30c3\u30af\u3069\u3061\u3089\u3092\u4f7f\u3048\u3070\u826f\u3044\u304b\uff1f<\/h2>\n<p>\u4e0a\u8a18\u5185\u5bb9\u3092\u6bd4\u3079\u308b\u3068\u60b2\u89b3\u30ed\u30c3\u30af\u306e\u307b\u3046\u304c\u512a\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u601d\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<span style=\"color: #ff0000;\"><strong>\u60b2\u89b3\u30ed\u30c3\u30af\u306f\u3042\u3089\u3086\u308b\u5834\u5408\u3092\u60f3\u5b9a\u3057\u3066\u9069\u5207\u306a\u30ed\u30c3\u30af\u89e3\u9664\u30b9\u30ad\u30eb\u304c\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u5b9f\u88c5\u96e3\u6613\u5ea6\u304c\u9ad8\u3044<\/strong><\/span>\u3067\u3059\u3002\u306a\u306e\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u3088\u307b\u3069\u306e\u6a5f\u80fd\u3067\u306a\u3044\u9650\u308a\u306f\u73fe\u5b9f\u7684\u306b\u306f\u697d\u89b3\u30ed\u30c3\u30af\u304c\u63a1\u7528\u3055\u308c\u308b\u30b1\u30fc\u30b9\u304c\u591a\u3044<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<h3>\u697d\u89b3\u30ed\u30c3\u30af\u3092\u4f7f\u3046\u5834\u5408<\/h3>\n<ul>\n<li>\u7af6\u5408\u304c\u3042\u307e\u308a\u767a\u751f\u3057\u306a\u3044\u5834\u5408<\/li>\n<li>\u3084\u308a\u76f4\u3057\u305f\u3068\u3057\u3066\u3082\u6642\u9593\u304c\u3042\u307e\u308a\u304b\u304b\u3089\u306a\u3044\u696d\u52d9\u306e\u5834\u5408<\/li>\n<\/ul>\n<h3>\u60b2\u89b3\u30ed\u30c3\u30af\u3092\u4f7f\u3046\u5834\u5408<\/h3>\n<ul>\n<li>\u8907\u6570\u4eba\u3067\u66f4\u65b0\u3059\u308b\u306e\u304c\u524d\u63d0\u306e\u5834\u5408<\/li>\n<li>\u7af6\u5408\u3067\u3084\u308a\u76f4\u3057\u304c\u96e3\u3057\u3044 or \u6642\u9593\u304c\u304b\u304b\u308b\u696d\u52d9\u306e\u5834\u5408<\/li>\n<li>\u5177\u4f53\u7684\u306b\u8a00\u3048\u3070\u3001\u304a\u91d1\u306e\u53d6\u5f15\u3084\u91cd\u8981\u6587\u66f8\u306e\u9001\u4ed8\u7b49\u306e\u696d\u52d9\u3092\u8907\u6570\u4eba\u3067\u3084\u308b\u696d\u52d9\u306f\u3053\u3061\u3089\u3092\u4f7f\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u306a\u304a\u3001<span style=\"color: #ff0000;\"><strong>\u5b9f\u88c5\u30b3\u30b9\u30c8\u306f\u60b2\u89b3\u30ed\u30c3\u30af\u306e\u65b9\u304c\u9ad8\u3044<\/strong><\/span>\u3068\u3044\u3046\u3053\u3068\u3082\u8003\u616e\u306b\u5165\u308c\u3066\u304a\u304f\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>\u8907\u96d1\u306a\u6392\u4ed6\u5236\u5fa1<\/h2>\n<h3>\u540c\u3058\u30c6\u30fc\u30d6\u30eb\u306b\u8907\u6570\u306e\u7a2e\u985e\u306e\u6392\u4ed6\u5236\u5fa1\u3092\u304b\u3051\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/h3>\n<p>\u540c\u3058\u30c6\u30fc\u30d6\u30eb\u5185\u3067\u6570\u7a2e\u985e\u306e\u6392\u4ed6\u5236\u5fa1\u304c\u5165\u308a\u6df7\u3058\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u6392\u4ed6\u5236\u5fa1\u81ea\u4f53\u304c\u6210\u308a\u7acb\u305f\u306a\u304f\u306a\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u697d\u89b3\u30ed\u30c3\u30af<\/li>\n<li>\u60b2\u89b3\u30ed\u30c3\u30af<\/li>\n<li>\u66f4\u65b0\u6642\u306e\u884c\u30ed\u30c3\u30af\u306e\u307f\uff08SELECT FOR UPDATE\uff09<\/li>\n<\/ul>\n<p>\u4f8b\u3048\u3070\u3001\u5546\u54c1\u30c6\u30fc\u30d6\u30eb\u304c\u3042\u3063\u305f\u3068\u3057\u3066\u3001\u300c\u5546\u54c1\u540d\u300d\u3001\u300c\u5728\u5eab\u6570\u300d\u306e\u30ab\u30e9\u30e0\u304c\u3042\u308a\u5728\u5eab\u6570\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u884c\u30ed\u30c3\u30af\u3067\u66f4\u65b0\u3057\u3066\u3001\u5546\u54c1\u540d\u3092\u7ba1\u7406\u8005\u304c\u697d\u89b3\u30ed\u30c3\u30af\u3067\u66f4\u65b0\u3057\u305f\u5834\u5408\u306f\u305f\u3060\u306e\u884c\u30ed\u30c3\u30af\u3067\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7b49\u306f\u7ba1\u7406\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4>\u5bfe\u7b56<\/h4>\n<p>\u300c\u5546\u54c1\u30c6\u30fc\u30d6\u30eb\u300d\u3068\u300c\u5728\u5eab\u30c6\u30fc\u30d6\u30eb\u300d\u3068\u3044\u3046\u3088\u3046\u306b\u3001\u696d\u52d9\u4e0a\u3067\u540c\u3058\u30ed\u30c3\u30af\u3092\u3059\u308b\u5358\u4f4d\u306b\u30c6\u30fc\u30d6\u30eb\u3082\u5206\u5272\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>\u767b\u9332\u51e6\u7406\u306e\u6392\u4ed6\u5236\u5fa1<\/h3>\n<p>\u66f4\u65b0\u51e6\u7406\u306f\u554f\u984c\u306a\u304f\u6392\u4ed6\u5236\u5fa1\u3092\u304b\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u3060\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u767b\u9332\u51e6\u7406\u3082\u6392\u4ed6\u5236\u5fa1\u3092\u304b\u3051\u305f\u3044\u5834\u5408\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u3055\u3089\u306b\u4e0a\u306e\u968e\u5c64\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u3063\u3066\u3001\u305d\u306e\u4e0a\u306e\u968e\u5c64\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u6392\u4ed6\u5236\u5fa1\u3092\u304b\u3051\u3066\u5bfe\u5fdc<\/strong><\/span>\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u6392\u4ed6\u5236\u5fa1\u3068\u306f\uff1f \u8907\u6570\u4eba\u306e\u540c\u6642\u30a2\u30af\u30bb\u30b9\u3067\u30c7\u30fc\u30bf\u306e\u4e0d\u6574\u5408\u304c\u751f\u3058\u3066\u3057\u307e\u308f\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u6392\u4ed6\u5236\u5fa1\u306b\u306f\u4e3b\u306b\u4e0b\u8a182\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002 \u697d\u89b3\u30ed\u30c3\u30af \u60b2\u89b3\u30ed\u30c3\u30af \u697d\u89b3\u30ed\u30c3\u30af \u300c\u6ec5\u591a\u306a\u3053\u3068\u3058\u3083\u4ed6\u8005\u306b\u3088\u308b\u66f4\u65b0\u306a\u3093\u3066\u8d77\u304d\u306a\u3044\u3060\u308d\u3046\u300d\u3068 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/12341"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12341"}],"version-history":[{"count":16,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/12341\/revisions"}],"predecessor-version":[{"id":20753,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/12341\/revisions\/20753"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12341"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}