{"id":6505,"date":"2020-07-24T19:07:47","date_gmt":"2020-07-24T10:07:47","guid":{"rendered":"https:\/\/pandanote.info\/?p=6505"},"modified":"2022-06-03T19:55:52","modified_gmt":"2022-06-03T10:55:52","slug":"node-js%e3%81%a8vue-js%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%80%81mariadb%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e6%93%8d%e4%bd%9c%e3%81%99%e3%82%8b%e3%81%a0%e3%81%91%e3%81%ae%e7%b0%a1%e5%8d%98","status":"publish","type":"post","link":"https:\/\/pandanote.info\/?p=6505","title":{"rendered":"Node.js\u3068Vue.js\u3092\u4f7f\u3063\u3066\u3001MariaDB\u306e\u30c7\u30fc\u30bf\u3092\u64cd\u4f5c\u3059\u308b\u3060\u3051\u306e\u7c21\u5358\u306aWeb\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>MariaDB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e)\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306e\u305f\u3081\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066&#8221;mysql&#8221;\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066SQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u306e\u306f\u3001\u3046\u3063\u304b\u308a\u624b\u304c\u6ed1\u3063\u3066delete\u6587\u3068\u304bupdate\u6587\u3068\u304b\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u4e88\u671f\u305b\u306c\u7d50\u679c\u3092\u3082\u305f\u3089\u3059\u6050\u308c\u304c\u3042\u3063\u305f\u308a\u3057\u3066\u5c11\u3005\u6016\u3044(\u305d\u308c\u3082\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u307b\u3069\u8cc7\u7523\u6027\u3092\u5e2f\u3073\u3066\u304d\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u98fd\u304d\u3066\u304d\u59cb\u3081\u305f\u6642\u304c\u4e00\u756a\u6016\u3044\u3067\u3059\u3002)\u306e\u3067\u3001wrapper\u7684\u306aWeb\u30a2\u30d7\u30ea\u3092Node.js\u3068Vue.js\u3092\u4f7f\u3063\u3066\u624b\u9593\u3092\u304b\u3051\u305a\u306b\u4f5c\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>Node.js\u3067\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u3092\u66f8\u304f<\/h2>\n<h3>Emacs\u306ejs2-mode\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4f5c\u696d\u306e\u958b\u59cb\u524d\u306bEmacs\u306bjs2-mode\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001emacs-lsp\u3092\u4f7f\u3063\u3066JavaScript\u306e\u30b3\u30fc\u30c9\u306e\u88dc\u5b8c\u3084\u5b9a\u7fa9\u306e\u53c2\u7167\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059(M-x package-install\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304c\u3001\u4e8b\u524d\u306bemacs-lsp\u304c\u4f7f\u7528\u53ef\u80fd\u306a\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059)\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001.emacs.d\/init.el\u306eemacs-lsp\u95a2\u9023\u306e\u8a2d\u5b9a\u306e\u76f4\u524d\u306e\u3068\u3053\u308d\u306b\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">;;;js2-mode\u306e\u8a2d\u5b9a<br \/>\n(use-package js2-mode<br \/>\n  :mode &#8220;\\\\.js$&#8221;)<\/div>\n<p>&nbsp;<\/p>\n<p>\u307e\u305f\u3001lsp-mode\u306e\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">(use-package lsp-mode<br \/>\n  ;; Optional &#8211; enable lsp-mode automatically in scala files<br \/>\n  :hook (scala-mode . lsp)<br \/>\n  (lsp-mode . lsp-lens-mode)<br \/>\n  (js2-mode . lsp) ;;; \u2190\u3053\u306e\u884c\u3092\u8ffd\u52a0<br \/>\n\t\t:config (setq lsp-prefer-flymake nil))<\/div>\n<p>&nbsp;<\/p>\n<h3>Node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4eca\u56de\u306eWeb\u30a2\u30d7\u30ea\u306e\u958b\u767a\u306fWindows 10\u3067\u884c\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u305d\u3053\u3067\u3001\u958b\u767a\u306b\u4f7f\u3046PC\u306bNode.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>Node.js\u306f\u6700\u65b0\u7248(\u3053\u306e\u8a18\u4e8b\u3092\u6700\u521d\u306b\u66f8\u3044\u305f\u6642\u70b9(2020\u5e747\u6708)\u3067\u306fv12.18.3\u306e\u3088\u3046\u3067\u3059\u3002)\u3092<a href=\"https:\/\/nodejs.org\/ja\/\">Node.js\u306eWeb\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001MSI\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u305d\u3044\u3064\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u8d77\u52d5\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068node\u30b3\u30de\u30f3\u30c9(node.exe)\u53ca\u3073npm\u30b3\u30de\u30f3\u30c9(npm.exe)\u3078\u306e\u30d1\u30b9\u304c\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9<\/h3>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u9069\u5f53\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">c:\\Users\\pandanote&gt; mkdir nodejs<\/div>\n<p>&nbsp;<br \/>\n\u3053\u3053\u3067\u6c7a\u3081\u305f\u540d\u524d\u304c\u5f8c\u3067\u601d\u308f\u306c\u5f71\u97ff\u3092\u3082\u305f\u3089\u3059\u3053\u3068\u306f\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u9069\u5f53\u306a\u540d\u524d\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u3068\u66f8\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>Hello World\u7684\u306a\u30b3\u30fc\u30c9\u3092\u7528\u3044\u305fNode.js\u306e\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u306eHello World\u3059\u308b\u3060\u3051\u306e\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067Node.js\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n<script src=\"https:\/\/gist.github.com\/pandanote-info\/0710a78d449c9b3252ce12fa0be84f4d.js\"><\/script><\/p>\n<ol>\n<li>\u4e0a\u8a18\u306e\u30d5\u30a1\u30a4\u30eb\u3092HelloWorld.js\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<li>\u518d\u5ea6\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n<div class=\"code\">c:\\Users\\pandanote\\nodejs&gt; node HelloWorld.js<\/div>\n<p>&nbsp;<\/li>\n<li>\u30d6\u30e9\u30a6\u30b6(\u3067\u304d\u308b\u3060\u3051\u6700\u65b0\u7248\u306e\u3082\u306e\u3002\u4ee5\u4e0b\u540c\u3058\u3002)\u3067 http:\/\/localhost:8590\/ \u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/li>\n<li>\u4ee5\u4e0b\u306e\u6587\u5b57\u5217\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6510\" rel=\"attachment wp-att-6510\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene1-300x167.png\" alt=\"\" width=\"300\" height=\"167\" class=\"alignnone size-medium wp-image-6510\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene1-300x167.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene1.png 375w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/localhost:8590\/ppp \u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/li>\n<li>\u4ee5\u4e0b\u306e\u6587\u5b57\u5217\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6511\" rel=\"attachment wp-att-6511\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene2-300x148.png\" alt=\"\" width=\"300\" height=\"148\" class=\"alignnone size-medium wp-image-6511\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene2-300x148.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene2.png 328w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ol>\n<h2>\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u306e\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0<\/h2>\n<p>\u6b21\u306b\u3001MariaDB\u3068\u306e\u63a5\u7d9a\u306e\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3084static\u306aHTML\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<h3>MariaDB Connector\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u4eca\u56de\u4f5c\u308d\u3046\u3068\u3057\u3066\u3044\u308bWeb\u30a2\u30d7\u30ea\u3067\u306fWeb\u30b5\u30fc\u30d0\u304b\u3089MariaDB\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u3057\u307e\u3059\u306e\u3067\u3001\u30a2\u30af\u30bb\u30b9\u306e\u305f\u3081\u306e\u6e96\u5099\u3082\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e0a\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001MariaDB Connector\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">c:\\Users\\pandanote\\nodejs&gt; npm install mariadb<\/div>\n<p>&nbsp;<br \/>\n\u3059\u308b\u3068\u2026<\/p>\n<div class=\"code\">npm WARN saveError ENOENT: no such file or directory, open &#8216;C:\\Users\\pandanote\\Documents\\work\\nodejs\\package.json&#8217;<br \/>\nnpm notice created a lockfile as package-lock.json. You should commit this file.<br \/>\nnpm WARN enoent ENOENT: no such file or directory, open &#8216;C:\\Users\\pandanote\\Documents\\work\\nodejs\\package.json&#8217;<br \/>\nnpm WARN nodejs No description<br \/>\nnpm WARN nodejs No repository field.<br \/>\nnpm WARN nodejs No README data<br \/>\nnpm WARN nodejs No license field.<br \/>\n&nbsp;<br \/>\n+ mariadb@2.4.2<br \/>\nadded 11 packages from 62 contributors and audited 11 packages in 1.515s<br \/>\nfound 0 vulnerabilities<\/div>\n<p>&nbsp;<br \/>\n\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001MariaDB Connector\u306f\u8ffd\u52a0\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u306e\u3067\u3001WARNING\u306b\u3064\u3044\u3066\u306f\u6c17\u306b\u3057\u306a\u3044\u3053\u3068\u306b\u3057\u3066\u3001\u4f5c\u696d\u3092\u9032\u3081\u307e\u3059\u3002<\/p>\n<h3>static\u306aHTML\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8(=\u30d6\u30e9\u30a6\u30b6)\u306f\u30e6\u30fc\u30b6\u304b\u3089\u306e\u64cd\u4f5c\u3092\u53d7\u3051\u4ed8\u3051\u3064\u3064\u81ea\u5f8b\u7684\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5143\u30cd\u30bf\u306f\u30b5\u30fc\u30d0\u304b\u3089\u9001\u3063\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u305d\u306e\u5143\u30cd\u30bf\u3068\u3057\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u9001\u308b\u3079\u304dstatic\u306aHTML\u30d5\u30a1\u30a4\u30eb\u306e\u305f\u3081\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<div class=\"code\">c:\\Users\\pandanote\\nodejs&gt; mkdir static<\/div>\n<p>&nbsp;<br \/>\n\u4e0a\u8a18\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306bstatic\u306aHTML\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u3044\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>static\u306aHTML\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li>index.html: \u30e1\u30a4\u30f3\u306a\u51e6\u7406\u3092\u884c\u3046\u305f\u3081\u306eHTML\u30d5\u30a1\u30a4\u30eb\u3002Vue.js\u306e\u30b3\u30fc\u30c9\u306f\u3053\u3053\u306b\u8a18\u8ff0\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>404.html: \u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u3067\u304d\u308b\u3082\u306e\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6520\" rel=\"attachment wp-att-6520\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene5-300x161.png\" alt=\"\" width=\"300\" height=\"161\" class=\"alignnone size-medium wp-image-6520\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene5-300x161.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene5-1024x549.png 1024w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene5-768x412.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene5-660x354.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene5.png 1364w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ol>\n<h3>static\u306aHTML\u30d5\u30a1\u30a4\u30eb\u306e\u9001\u4fe1\u7528\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0<\/h3>\n<p>Web\u30b5\u30fc\u30d0\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u969b\u306b\u306findex.html\u3092\u3001\u5b58\u5728\u3057\u306a\u3044URL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u306b\u306f404.html\u3092\u305d\u308c\u305e\u308c\u9001\u4fe1\u3057\u305f\u3044\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092HelloWorld.js\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n<script src=\"https:\/\/gist.github.com\/pandanote-info\/7aed8792bda7bd93c49541aad9f2f2de.js\"><\/script><\/p>\n<h3>\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u30d7\u30fc\u30eb\u3092\u7528\u3044\u305fSQL\u6587\u767a\u884c\u7528\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0<\/h3>\n<p>\u4eca\u56de\u958b\u767a\u3059\u308bWeb\u30a2\u30d7\u30ea\u3067\u306fWeb\u30b5\u30fc\u30d0\u304b\u3089MariaDB\u306e\u30b5\u30fc\u30d0\u306bSQL\u6587\u3092\u767a\u884c\u3057\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u306e\u3067\u3001Web\u30b5\u30fc\u30d0\u5074\u3067\u63a5\u7d9a\u306e\u305f\u3081\u306e\u60c5\u5831\u3092\u4fdd\u6301\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001Web\u30b5\u30fc\u30d0-MariaDB\u30b5\u30fc\u30d0\u9593\u306e\u63a5\u7d9a\u306f\u63a5\u7d9a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f7f\u3044\u307e\u308f\u3057\u3092\u53ef\u80fd\u3068\u3059\u308b\u305f\u3081\u3001\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u30d7\u30fc\u30eb\u3092\u7528\u3044\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u306fJSON\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5909\u63db\u3057\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u306b\u8fd4\u3059\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092HelloWorld.js\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u306a\u304a\u3001MariaDB\u30b5\u30fc\u30d0\u306e\u30dd\u30fc\u30c8\u3092\u7121\u5236\u9650\u306b\u516c\u958b\u3059\u308b\u3053\u3068\u3092\u907f\u3051\u308b\u305f\u3081\u3001MariaDB\u30b5\u30fc\u30d0\u3078\u306e\u63a5\u7d9a\u306fOpenVPN\u7d4c\u7531\u3067\u884c\u3044\u307e\u3059\u3002<br \/>\n<script src=\"https:\/\/gist.github.com\/pandanote-info\/c9333fbcde4dd7f762d9f829512785aa.js\"><\/script><br \/>\n\u4e0a\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u518d\u5ea6\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">c:\\Users\\pandanote\\nodejs&gt; node HelloWorld.js<\/div>\n<p>&nbsp;<br \/>\n\u6b21\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u7528\u3044\u3066 http:\/\/localhost:8590\/api\/get \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u2026<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6512\" rel=\"attachment wp-att-6512\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene3-300x161.png\" alt=\"\" width=\"300\" height=\"161\" class=\"alignnone size-medium wp-image-6512\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene3-300x161.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene3-660x353.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene3.png 751w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u306bWeb\u30b5\u30fc\u30d0\u3092\u7d4c\u7531\u3057\u3066\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u304cJSON\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u8868\u793a\u3055\u308c\u307e\u3059(\u307b\u3068\u3093\u3069\u30e2\u30b6\u30a4\u30af\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u3001\u3059\u307f\u307e\u305b\u3093)\u3002<\/p>\n<h2>Vue.js\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f<\/h2>\n<p>\u6700\u5f8c\u306b\u3001Vue.js\u3092\u7528\u3044\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3>CDN\u7248\u53ca\u3073axios(CDN\u7248)\u306e\u8aad\u307f\u8fbc\u307f<\/h3>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306estatic\u306e\u4e0b\u306eindex.html(\u4ee5\u4e0b\u3001\u5358\u306b\u300cindex.html\u300d\u3068\u66f8\u304d\u307e\u3059\u3002)\u306ehead\u30bf\u30b0\u306e\u4e2d\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">&lt;script src=&#8221;https:\/\/cdn.jsdelivr.net\/npm\/vue\/dist\/vue.js&#8221;>&lt;\/script><br \/>\n\t&lt;script src=&#8221;https:\/\/cdn.jsdelivr.net\/npm\/axios\/dist\/axios.min.js&#8221;>&lt;\/script>\n<\/div>\n<p>&nbsp;<br \/>\nWeb\u30b5\u30fc\u30d0\u306eAPI\u306e\u547c\u3073\u51fa\u3057\u306f\u3001axios\u3092\u4f7f\u3063\u3066\u884c\u3046\u305f\u3081\u3001axios\u3082\u3064\u3044\u3067\u306bCDN\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30eb\u30fc\u30c8Vue\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8a18\u8ff0<\/h3>\n<p>index.html\u306ebody\u30bf\u30b0\u306e\u4e0b\u306e\u9069\u5f53\u306a\u5834\u6240\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n<script src=\"https:\/\/gist.github.com\/pandanote-info\/51bfd68a73ddb521a69092381c364280.js\"><\/script><br \/>\n\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u4f8b\u3067\u306f&#8221;\/api\/get&#8221;\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u7d50\u679c\u3068\u3057\u3066\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u3092msg\u3068\u3044\u3046\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<h3>\u30c7\u30fc\u30bf\u304c\u53d6\u5f97\u30fb\u8868\u793a\u3067\u304d\u308b\u3053\u3068\u306e\u78ba\u8a8d<\/h3>\n<p>index.html\u306b\u30dc\u30bf\u30f3\u3084\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u7b49\u3092\u8ffd\u52a0\u3057\u3001\u305d\u308c\u3089\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3092HelloWorld.js\u306b\u8ffd\u52a0\u3059\u308b(\u8a73\u7d30\u306a\u8aac\u660e\u306f\u7701\u7565\u3057\u307e\u3059\u3002)\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">c:\\Users\\pandanote\\nodejs&gt; node HelloWorld.js<\/div>\n<p>&nbsp;<\/p>\n<p>\u305d\u3057\u3066\u3001http:\/\/localhost:8590\/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6522\" rel=\"attachment wp-att-6522\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene6-300x98.png\" alt=\"\" width=\"300\" height=\"98\" class=\"alignnone size-medium wp-image-6522\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene6-300x98.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene6-768x251.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene6-660x216.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene6.png 804w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3055\u3089\u306b\u3001\u4e0a\u56f3\u753b\u9762\u4e0a\u306e\u300c\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u307f\u308b!!\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u2026<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6523\" rel=\"attachment wp-att-6523\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene7-300x160.png\" alt=\"\" width=\"300\" height=\"160\" class=\"alignnone size-medium wp-image-6523\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene7-300x160.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene7-1024x545.png 1024w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene7-768x409.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene7-660x351.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/07\/nodejs_and_vuejs_scene7.png 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u30c7\u30fc\u30bf\u304c\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f!! \ud83d\ude0e<\/p>\n<h2>\u304a\u307e\u3051<\/h2>\n<h3>\u305d\u306e1: \u30dc\u30bf\u30f3\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u306e\u5909\u6570<\/h3>\n<p>\u4e0a\u56f3\u306e\u8d64\u77e2\u5370\u306e\u300c\u4f7f\u7528\u53ef\/\u4e0d\u53ef\u306e\u5207\u308a\u66ff\u3048\u300d\u30dc\u30bf\u30f3\u306fv-on\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6(\u306e\u7701\u7565\u5f62)\u3092\u4f7f\u3063\u3066\u3001<\/p>\n<div class=\"code\">\n&lt;tr v-for=&#8221;data in msg&#8221;><br \/>\n&lt;td>&lt;button @click=&#8221;toggleAvailability(data.id)&#8221;>\u4f7f\u7528\u53ef\/\u4e0d\u53ef\u306e\u5207\u308a\u66ff\u3048&lt;\/button>&lt;\/td><br \/>\n&lt;tr><\/div>\n<p>&nbsp;<br \/>\n\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3001\u30dc\u30bf\u30f3\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u308b\u3068\u3001\u30eb\u30fc\u30c8Vue\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308btoggleAvailability(id)\u30e1\u30bd\u30c3\u30c9\u3092(\u5f15\u6570\u3064\u304d\u3067)\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>HTML\u5c5e\u6027\u306e\u5185\u90e8\u3067\u306fmustache\u8a18\u6cd5\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\u30dc\u30bf\u30f3\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u30e1\u30bd\u30c3\u30c9\u306b\u5f15\u6570\u3092\u8a2d\u5b9a\u3059\u308b(\u305d\u308c\u3082\u30dc\u30bf\u30f3\u3054\u3068\u306b\u7570\u306a\u308b\u5f15\u6570\u3092\u8a2d\u5b9a\u3059\u308b)\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u306e\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u5c5e\u6027\u306b\u5909\u6570\u540d\u3092\u305d\u306e\u307e\u307e\u8a18\u8ff0\u3059\u308c\u3070\u826f\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001tr\u30bf\u30b0\u53ca\u3073\u305d\u308c\u306b\u542b\u307e\u308c\u308btd\u30bf\u30b0\u304cmsg\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570\u3060\u3051\u7e70\u308a\u8fd4\u3057\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001td\u30bf\u30b0\u306b\u542b\u307e\u308c\u308bbutton\u30bf\u30b0\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u306b\u306f\u8868\u793a\u306e\u6642\u70b9\u3067data\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3055\u308c\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u542b\u307e\u308c\u3066\u3044\u308bid\u304c\u5f15\u6570\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3055\u308c\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>\u305d\u306e2: INSERT\u6587\u306e\u623b\u308a\u5024<\/h3>\n<p>Node.js\u306eMariaDB Connector\u3092\u4f7f\u3063\u3066INSERT\u6587\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3057\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">conn.query(&#8220;(INSERT\u6587)&#8221;)<br \/>\n.then(result => {<br \/>\n\t\/\/ OkPacket { affectedRows: 1, insertId: 41, warningStatus: 0 }<br \/>\n\tresponse.end(JSON.stringify(result));<br \/>\n});<\/div>\n<p>&nbsp;<br \/>\nINSERT\u6587\u306e\u51e6\u7406\u304c\u6210\u529f\u3059\u308b\u3068\u3001then\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u3067\u3042\u308bresult\u306b\u623b\u308a\u5024\u3068\u3057\u3066OkPacket\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8fd4\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u304cObject\u306e\u914d\u5217\u306e\u4e00\u8981\u7d20\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u51e6\u7406\u3059\u308b\u5834\u5408\u306b\u306f\u4e0a\u8a18\u306e\u3088\u3046\u306bJSON\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u9001\u4fe1\u3059\u308b\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u306e\u51e6\u7406\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u56f0\u3063\u305f\u3068\u304d\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u983c\u307f\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Java\u30d9\u30fc\u30b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u89e6\u308d\u3046\u3068\u3059\u308b\u3068\u304a\u4f5c\u6cd5\u304c\u3044\u308d\u3044\u308d\u3068\u91cd\u305f\u3044\u306e\u3067\u3001\u4eca\u56de\u306fJavaScript\u30d9\u30fc\u30b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u89e6\u3063\u3066\u307f\u307e\u3057\u305f\u3068\u3053\u308d\u3001\u3061\u3087\u3063\u3068\u723d\u5feb\u306a\u611f\u3058\u304c\u3057\u307e\u3057\u305f(\u203b\u500b\u4eba\u306e\u611f\u60f3\u3067\u3059)\u3002<\/p>\n<p>Node.js\u53ca\u3073Vue.js\u30d9\u30fc\u30b9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066\u306fNuxt.js\u3068\u3044\u3046\u306e\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u3084\u3084\u9ad8\u3081\u3067\u500b\u4eba\u7684\u306a\u5b66\u7fd2\u306e\u7bc4\u7587\u3092\u8d85\u3048\u308b\u3088\u3046\u306a\u6c17\u304c\u3057\u305f\u306e\u3067\u3001Node.js\u53ca\u3073Vue.js\u3092\u7d20\u3067\u4f7f\u3044\u3064\u3064\u8efd\u304fWeb\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u6b63\u54736\u6642\u9593\u7a0b\u5ea6\u3067\u4e0a\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u306e\u3082\u306e\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u7d30\u304b\u3044\u3068\u3053\u308d\u3084\u898b\u305f\u76ee\u3084\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306f\u8abf\u6574\u30fb\u8ffd\u52a0\u306e\u4f59\u5730\u304c\u3042\u308a\u305d\u3046\u3067\u3059\u304c\u3001wrapper\u7684\u306aweb\u30a2\u30d7\u30ea\u3092\u91cf\u7523\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u3046\u3063\u304b\u308a\u624b\u304c\u6ed1\u3063\u3066delete\u6587\u3068\u304bupdate\u6587\u3068\u304b\u3092MariaDB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u76f4\u63a5\u5b9f\u884c\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u306f\u5927\u5e45\u306b\u8efd\u6e1b\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<h2>References \/ \u53c2\u8003\u6587\u732e<\/h2>\n<ul>\n<li><a href=\"https:\/\/fukuno.jig.jp\/2628\">Vue.js x Node.js \u3067\u3064\u304f\u308d\u3046\u3001\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u306e\u57fa\u672c\u300c\u30c1\u30e3\u30c3\u30c8\u300d\u30cf\u30f3\u30ba\u30aa\u30f3<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b MariaDB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e)\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306e\u305f\u3081\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066&#8221;mysql&#8221;\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066SQL\u6587\u3092\u5b9f\u884c\u3059\u308b\u306e\u306f\u3001\u3046\u3063\u304b\u308a\u624b\u304c\u6ed1\u3063\u3066delete\u6587\u3068\u304bupdate\u6587\u3068\u304b\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u4e88\u671f\u305b\u306c\u7d50\u679c\u3092\u3082\u305f\u3089\u3059\u6050\u308c\u304c\u3042\u3063\u305f\u308a\u3057\u3066\u5c11\u3005\u6016\u3044(\u305d\u308c\u3082\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u307b\u3069\u8cc7\u7523\u6027\u3092\u5e2f\u3073\u3066\u304d\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u98fd\u304d\u3066\u304d\u59cb\u3081\u305f\u6642\u304c\u4e00\u756a\u6016\u3044\u3067\u3059\u3002)\u306e\u3067\u3001wrapper\u2026 <span class=\"read-more\"><a href=\"https:\/\/pandanote.info\/?p=6505\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":6520,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,39,3],"tags":[],"class_list":["post-6505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-emacs","category-node-js","category-website-2"],"_links":{"self":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/6505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6505"}],"version-history":[{"count":19,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/6505\/revisions"}],"predecessor-version":[{"id":9139,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/6505\/revisions\/9139"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/media\/6520"}],"wp:attachment":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}