{"id":5447,"date":"2022-04-22T07:08:57","date_gmt":"2022-04-21T22:08:57","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=5447"},"modified":"2023-07-11T06:25:08","modified_gmt":"2023-07-10T21:25:08","slug":"mongodb%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e4%bd%9c%e6%88%90%e3%81%a8%e5%89%8a%e9%99%a4%e3%82%92%e8%a1%8c%e3%81%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/5447","title":{"rendered":"MongoDB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210\u3068\u524a\u9664\u3092\u884c\u3046\uff01"},"content":{"rendered":"<p>MongoDB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210\u3068\u524a\u9664\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>DB\u306e\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>DB\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306e\u521d\u671f\u72b6\u614b\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ntest&gt; show dbs;\r\nadmin     41 kB\r\nconfig  61.4 kB\r\nlocal     41 kB\r\n<\/pre>\n<h2>DB\u3092\u4f5c\u6210\u3059\u308b\uff01<\/h2>\n<p>DB\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002DB\u306e\u4f5c\u6210\u3092\u884c\u3044\u307e\u3057\u305f\u304c\u3001\u30c7\u30fc\u30bf\u672a\u6295\u5165\u306e\u5834\u5408\u306f\u3001\u4e00\u89a7\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ntest&gt; use base_db\r\nswitched to db base_db\r\nbase_db&gt; show dbs;\r\nadmin     41 kB\r\nconfig  73.7 kB\r\nlocal     41 kB\r\n<\/pre>\n<h2>DB\u3092\u524a\u9664\u3059\u308b\uff01<\/h2>\n<p>DB\u306b\u63a5\u7d9a\u3057\u305f\u72b6\u614b\u3067\u3001DB\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nbase_db&gt; db.dropDatabase();\r\n{ ok: 1, dropped: 'base_db' }\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>MongoDB\u306eDB\u306e\u4f5c\u6210\u3068\u524a\u9664\u3092\u884c\u3044\u307e\u3057\u305f\u304c\u3001RDB\u3068\u306f\u64cd\u4f5c\u306e\u6982\u5ff5\u304c\u3060\u3044\u3076\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.mongodb.com\/docs\/\" target=\"_blank\" rel=\"noopener\">MongoDB - Documentation<\/a><\/li>\n<li><a href=\"https:\/\/www.mongodb.com\/docs\/manual\/\" target=\"_blank\" rel=\"noopener\">MongoDB Server - Manual<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/9850\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011MongoDB\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/09\/eyecatch_mongodb_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011MongoDB\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">MongoDB\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u53c2\u8003\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=infotecr-22&language=ja_JP&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=B07BGC4MJ1&linkId=0d0d3ef2181b83931f80739f4cfceb0e\"><\/iframe><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MongoDB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210\u3068\u524a\u9664\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":9875,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[74,571,630,673],"class_list":["post-5447","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mongodb","tag-mongodb","tag-571","tag-630","tag-673"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=5447"}],"version-history":[{"count":4,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5447\/revisions"}],"predecessor-version":[{"id":12696,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5447\/revisions\/12696"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/9875"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=5447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=5447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=5447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}