{"id":2174,"date":"2016-07-28T18:54:41","date_gmt":"2016-07-28T18:54:41","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2174"},"modified":"2022-11-04T16:06:32","modified_gmt":"2022-11-04T23:06:32","slug":"subdoc-explained","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/ko\/subdoc-explained\/","title":{"rendered":"\ud558\uc704 \ubb38\uc11c API\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc6d0\ud558\ub294 \uac83\ub9cc \uac00\uc838\uc624\uae30"},"content":{"rendered":"<p>In <a href=\"https:\/\/www.couchbase.com\/blog\/ko\/sub-documents-change-only-what-you-need-to\/\">Matthew\uc758 \ube14\ub85c\uadf8<\/a> \ud558\uc704 \ubb38\uc11c(<em>\ud558\uc704 \ubb38\uc11c<\/em>) API \uae30\ub2a5\uc5d0 \ub300\ud55c \uac04\ub7b5\ud55c \uac1c\uc694\ub97c \uc18c\uac1c\ud569\ub2c8\ub2e4: \uc694\uc57d\ud558\uba74, \ud558\uc704 \ubb38\uc11c\ub97c \uc0ac\uc6a9\ud558\uba74 \ubb38\uc11c\uc758 \uc77c\ubd80\uc5d0 \ud6a8\uc728\uc801\uc73c\ub85c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4(<em>sub<\/em>-\ubb38\uc11c)\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc804\uccb4 \ubb38\uc11c\ub97c \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc804\uc1a1\ud560 \ud544\uc694\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc774 \ube14\ub85c\uadf8\uc5d0\uc11c\ub294 \ucc38\uc870 \ubb38\uc11c\ub97c \uc0ac\uc6a9\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub7f0 \ub2e4\uc74c \uc774 \ubb38\uc11c\ub294 \uc11c\ube0c\ub3c4\ud050\uba3c\ud2b8 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub2e4\uc591\ud55c \ubc29\ubc95\uc73c\ub85c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uac01 \ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc5d0 \ub300\ud574 \ucc38\uace0\ud558\uc138\uc694, <code>doc_size - op_size<\/code> \ubc14\uc774\ud2b8\uc758 \ub300\uc5ed\ud3ed\uc774 \uc808\uc57d\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. <code>doc_size<\/code> \ub294 \ubb38\uc11c\uc758 \uae38\uc774\uc774\uace0 <code>op_size<\/code> \ub294 \uacbd\ub85c\uc758 \uae38\uc774\uc640 \ud558\uc704 \ubb38\uc11c \uac12\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc544\ub798 \ubb38\uc11c\ub294 500\ubc14\uc774\ud2b8\uc785\ub2c8\ub2e4. \uac04\ub2e8\ud55c <code>get()<\/code> \ub294 \uc11c\ubc84 \uc751\ub2f5\uc5d0\uc11c 500\ubc14\uc774\ud2b8(\ud504\ub85c\ud1a0\ucf5c \uc624\ubc84\ud5e4\ub4dc \ucd94\uac00)\ub97c \uc18c\ube44\ud569\ub2c8\ub2e4. \ubc30\ub2ec \uc8fc\uc18c\ub9cc \uc2e0\uacbd\uc4f0\ub294 \uacbd\uc6b0, \ubc30\ub2ec \uc8fc\uc18c\uc5d0 \ub300\ud55c <code>lookup_in('customer123', SD.get('addresses.delivery'))<\/code> \ud638\ucd9c\ud569\ub2c8\ub2e4. \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc57d 120\ubc14\uc774\ud2b8\ub9cc \uc218\uc2e0\ud558\uac8c \ub418\ubbc0\ub85c \ub3d9\ub4f1\ud55c \uc804\uccb4 \ubb38\uc11c(<em>\ud480\ub3c5<\/em>) \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-javascript\">{\r\n  \"name\": \"Douglas Reynholm\",\r\n  \"email\": \"douglas@reynholmindustries.com\",\r\n  \"addresses\": {\r\n    \"billing\": {\r\n      \"line1\": \"123 Any Street\",\r\n      \"line2\": \"Anytown \",\r\n      \"country\": \"United Kingdom\"\r\n    },\r\n    \"delivery\": {\r\n      \"line1\": \"123 Any Street\",\r\n      \"line2\": \"Anytown \",\r\n      \"country\": \"United Kingdom\"\r\n    }\r\n  },\r\n  \"purchases\": {\r\n    \"complete\": [\r\n      339, 976, 442, 666\r\n    ],\r\n    \"abandoned\": [\r\n      157, 42, 999\r\n    ]\r\n  }\r\n}<\/code><\/pre>\n<p>\ub2e4\uc74c\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc608\uc81c\ub97c \uc2dc\uc5f0\ud558\uaca0\uc2b5\ub2c8\ub2e4. <a href=\"https:\/\/github.com\/mnunberg\/couchbase-python-client\/tree\/subdoc\">\ud30c\uc774\uc36c SDK\uc758 \uac1c\ubc1c \ube0c\ub79c\uce58<\/a> \uadf8\ub9ac\uace0 <a href=\"https:\/\/www.couchbase.com\/blog\/ko\/nosql-databases\/downloads\/?gtmRefId=FixedCTA-Download\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc11c\ubc84 4.5 \uac1c\ubc1c\uc790 \ud504\ub9ac\ubdf0<\/a>.<br \/>\n[<b>\ud3b8\uc9d1:\u00a0<\/b>\uc774\uc81c \ud558\uc704 \ubb38\uc11c API\uc758 \uc2e4\ud5d8\uc6a9 \ubc84\uc804\uc744 \ucd5c\uc2e0 \ubc84\uc804\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/4.0\/sdks\/python-2.0\/download-links.html\">Python SDK<\/a>\ubc84\uc804 2.0.8\ub85c \uc5c5\ub370\uc774\ud2b8\ub418\uc5c8\uc73c\uba70, \uc544\ub798 \uc608\uc81c\ub294 \ucd5c\uc2e0 API\ub97c \ubc18\uc601\ud558\ub3c4\ub85d \uc5c5\ub370\uc774\ud2b8\ub418\uc5c8\uc2b5\ub2c8\ub2e4].<\/p>\n<p>Couchbase 4.5\uc758 \ub2e4\ub978 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \ub2e4\uc74c\uc5d0\uc11c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <a href=\"https:\/\/www.couchbase.com\/blog\/ko\/introducing-couchbase-server-4.5-developer-preview\/\">\ub3c8 \ud540\ud1a0\uc758 \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c<\/a><\/p>\n<h3 id=\"toc_0\">\ud558\uc704 \ubb38\uc11c \uc791\uc5c5<\/h3>\n<p>\ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc740 \ubb38\uc11c\uc758 \ub2e8\uc77c \uacbd\ub85c\uc5d0 \ub300\ud55c \ub2e8\uc77c \uc791\uc5c5\uc785\ub2c8\ub2e4. \uc774\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \ud45c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <code>GET('addresses.billing')<\/code> \ub610\ub294 <code>ARRAY_APPEND('purchases.abandoned', 42)<\/code>. \uc77c\ubd80 \uc791\uc5c5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. <em>\uc870\ud68c<\/em> (\ubb38\uc11c\ub97c \uc218\uc815\ud558\uc9c0 \uc54a\uace0 \ub2e8\uc21c\ud788 \ub370\uc774\ud130\ub97c \ubc18\ud658\ud558\ub294 \uac83), \uc77c\ubd80\ub294 <em>\ub3cc\uc5f0\ubcc0\uc774<\/em> (\ubb38\uc11c\uc758 \ub0b4\uc6a9\uc744 \uc218\uc815\ud569\ub2c8\ub2e4).<\/p>\n<p>\ub300\ubd80\ubd84\uc758 \uc11c\ube0c\ub3c4\ud050\uba3c\ud2b8 \uc791\uc5c5\uc740 \ud480\ub3c4\ud050\uba3c\ud2b8 \uc791\uc5c5\uacfc \ub3d9\ub4f1\ud55c \uaddc\ubaa8\uc758 \uc18c\uaddc\ubaa8 \uc791\uc5c5\uc785\ub2c8\ub2e4. \ub2e8\uc77c \ubb38\uc11c\ub97c \uadf8 \uc790\uccb4\ub85c \uc791\uc740 \ud0a4-\uac12 \uc800\uc7a5\uc18c\ub77c\uace0 \uc0dd\uac01\ud558\uba74 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4. Python SDK\uc5d0\uc11c \uc624\ud37c\ub808\uc774\uc158\uc744 \uc9c0\uc815\ud558\ub824\uba74 <code>couchbase.subdocument<\/code> \ubaa8\ub4c8\uc744 \uc0ac\uc6a9\ud558\uba70, \uc774 \ube14\ub85c\uadf8\uc758 \ub098\uba38\uc9c0 \ubd80\ubd84\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc57d\uce6d\ud560 \uac83\uc785\ub2c8\ub2e4. <code>SD<\/code>. \uc774\ub294 \ub2e4\uc74c\uc744 \ud1b5\ud574 \uc218\ud589\ub429\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-python\">import couchbase.subdocument as SD<\/code><\/pre>\n<p>\uc774\ub7ec\ud55c \uc791\uc5c5\uc744 \uc0b4\ud3b4\ubcf4\uba74\uc11c \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc804\uc1a1\ub418\ub294 \uac83\uc740 \uc804\uccb4 \ubb38\uc11c\uc758 \ub0b4\uc6a9(\ud480\ub3c5\uc758 \uacbd\uc6b0\ucc98\ub7fc)\uc774 \uc544\ub2c8\ub77c \uc11c\ube0c\ub3c5 API \uc790\uccb4\uc5d0 \uc804\ub2ec\ub418\ub294 \uc778\uc790\ubfd0\uc774\ub77c\ub294 \uc810\uc5d0 \uc720\uc758\ud558\uc138\uc694. \ubb38\uc11c \uc790\uccb4\ub294 \uc791\uc544 \ubcf4\uc77c \uc218 \uc788\uc9c0\ub9cc, \uc2ec\uc9c0\uc5b4 \uac04\ub2e8\ud55c<\/p>\n<h3 id=\"toc_1\">\uc870\ud68c \uc791\uc5c5<\/h3>\n<p>\uc870\ud68c \uc791\uc5c5\uc740 \ubb38\uc11c\uc5d0\uc11c \ud2b9\uc815 \uacbd\ub85c\ub97c \ucffc\ub9ac\ud558\uc5ec \ud574\ub2f9 \uacbd\ub85c\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. \uc2e4\uc81c\ub85c \ub2e4\uc74c\uacfc \uac19\uc740 \uacbd\ub85c\ub97c \uc120\ud0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <em>\uac80\uc0c9<\/em> \ub97c \uc0ac\uc6a9\ud558\uc5ec \ubb38\uc11c \uacbd\ub85c\ub97c <code>GET<\/code> \uc791\uc5c5 \ub610\ub294 \uac04\ub2e8\ud788 <em>\uc874\uc7ac \uc5ec\ubd80 \ucffc\ub9ac<\/em> \ub97c \uc0ac\uc6a9\ud558\uc5ec \uacbd\ub85c\uc758 <code>\uc874\uc7ac<\/code> \uc791\uc5c5\uacfc \ube44\uad50\ud574\ubcf4\uc138\uc694. \ud6c4\uc790\ub294 \ud544\uc694\ud558\uc9c0 \uc54a\uc740 \uacbd\uc6b0 \uacbd\ub85c\uc758 \ub0b4\uc6a9\uc744 \uac80\uc0c9\ud558\uc9c0 \uc54a\uc74c\uc73c\ub85c\uc368 \ub354 \ub9ce\uc740 \ub300\uc5ed\ud3ed\uc744 \uc808\uc57d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-python\">rv = bucket.lookup_in('customer123', SD.get('addresses.delivery.country'))\r\ncountry = rv[0] # =&gt; 'United Kingdom'<\/code><\/pre>\n<pre><code class=\"language-python\">rv = bucket.lookup_in('customer123', SD.exists('purchases.pending[-1]'))\r\nrv.exists(0) # (check if path for first command exists): =&gt;; False<\/code><\/pre>\n<p>\ub450 \ubc88\uc9f8 \ucf54\ub4dc \uc870\uac01\uc5d0\uc11c\ub294 \ubc30\uc5f4\uc758 \ub9c8\uc9c0\ub9c9 \uc694\uc18c\uc5d0 \uc561\uc138\uc2a4\ud558\ub294 \ubc29\ubc95\ub3c4 \ubcf4\uc5ec\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4. <code>[-1]<\/code> \uacbd\ub85c \ucef4\ud3ec\ub10c\ud2b8\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774 \ub450 \uac00\uc9c0 \uc791\uc5c5\uc744 \uacb0\ud569\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">rv = bucket.lookup_in('customer123',\r\n                  SD.get('addresses.delivery.country'),\r\n                  SD.exists('purchases.pending[-1]'))\r\nrv[0] # =&gt; 'United Kingdom'\r\nrv.exists(1) # =&gt; False\r\nrv[1] # =&gt; SubdocPathNotFoundError<\/code><\/pre>\n<h3 id=\"toc_2\">\ub3cc\uc5f0\ubcc0\uc774 \uc5f0\uc0b0<\/h3>\n<p>\ubcc0\uacbd \uc791\uc5c5\uc740 \ubb38\uc11c\uc5d0\uc11c \ud558\ub098 \uc774\uc0c1\uc758 \uacbd\ub85c\ub97c \uc218\uc815\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc791\uc5c5\uc740 \uc5ec\ub7ec \uadf8\ub8f9\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc0ac\uc804\/\uac1d\uccb4 \uc5f0\uc0b0: \uc774\ub7ec\ud55c \uc791\uc5c5\uc740 JSON \uc0ac\uc804 \ud0a4\uc758 \uac12\uc744 \uc501\ub2c8\ub2e4.<\/li>\n<li>\ubc30\uc5f4\/\ubaa9\ub85d \uc5f0\uc0b0: \uc774 \uc5f0\uc0b0\uc740 JSON \ubc30\uc5f4\/\ubaa9\ub85d\uc5d0 \uc5f0\uc0b0\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc77c\ubc18 \uc5f0\uc0b0: \uc774\ub7ec\ud55c \uc5f0\uc0b0\uc740 \uae30\uc874 \uac12 \uc790\uccb4\ub97c \uc218\uc815\ud558\uba70 \ucee8\ud14c\uc774\ub108\uc5d0 \uad6c\uc560\ubc1b\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p>\ub3cc\uc5f0\ubcc0\uc774 \uc791\uc5c5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. <em>\uc804\ubd80 \ub610\ub294 \uc804\ubb34<\/em>\ub0b4\uc758 \ubaa8\ub4e0 \uc791\uc5c5 \ub610\ub294 <code>mutate_in<\/code> \uac00 \uc131\uacf5\ud588\uac70\ub098 \uc131\uacf5\ud558\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<h4 id=\"toc_3\">\uc0ac\uc804 \uc791\uc5c5<\/h4>\n<p>\uc774\ub7ec\ud55c \uc791\uc5c5 \uc911 \uac00\uc7a5 \uac04\ub2e8\ud55c \uc791\uc5c5\uc740 <code>UPSERT<\/code>. \ud480\ub3c5 \uc218\uc900\uc758 \uc5c5\uc11c\ud2b8\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c \uae30\uc874 \uacbd\ub85c\uc758 \uac12\uc744 \uc218\uc815\ud558\uac70\ub098 \uacbd\ub85c\uac00 \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \uacbd\uc6b0 \uc0c8\ub85c \ub9cc\ub4ed\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.upsert('fax', '775-867-5309'))<\/code><\/pre>\n<p>\ub2e4\uc74c\uacfc \ub354\ubd88\uc5b4 <code>UPSERT<\/code>\uc5d0\uc11c <code>\uc0bd\uc785<\/code> \uc5f0\uc0b0\uc740 \uacbd\ub85c\uac00 \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \uacbd\uc6b0\uc5d0\ub9cc \uc0c8 \uac12\uc744 \uacbd\ub85c\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.insert('purchases.complete', [42, True, None]))\r\n# SubdocPathExistsError<\/code><\/pre>\n<p>\uc704\uc758 \uc791\uc5c5\uc740 \uc2e4\ud328\ud558\uc9c0\ub9cc, \uc804\uccb4 \ubb38\uc11c \uac12\uc73c\ub85c \uc720\ud6a8\ud55c \uac83\uc740 \ud558\uc704 \ubb38\uc11c \uac12\uc73c\ub85c\ub3c4 \uc720\ud6a8\ud558\ub2e4\ub294 \uc810\uc5d0 \uc720\uc758\ud558\uc138\uc694: JSON\uc73c\ub85c \uc9c1\ub82c\ud654\ud560 \uc218\ub9cc \uc788\ub2e4\uba74 \ub9d0\uc785\ub2c8\ub2e4. Python SDK\ub294 \uc704\uc758 \uac12\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc9c1\ub82c\ud654\ud569\ub2c8\ub2e4. <code>[42, true, null]<\/code>.<\/p>\n<p>\uc0ac\uc804 \uac12\uc740 \ubc14\uafb8\uac70\ub098 \uc81c\uac70\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123',\r\n                 SD.remove('addresses.billing'),\r\n                 SD.replace('email', 'doug96@hotmail.com'))<\/code><\/pre>\n<h4 id=\"toc_4\">\ubc30\uc5f4 \uc5f0\uc0b0<\/h4>\n<p>\ucc38 \ubc30\uc5f4 \ucd94\uac00 (<code>ARRAY_APPEND<\/code>)\ub97c \ucd94\uac00\ud558\uace0 (<code>ARRAY_PREPEND<\/code>) \uc791\uc5c5\uc740 \uc11c\ube0c\ub3c4\ud050\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc218\ud589\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \ub2e8\uc21c\ud788 \uae30\uc874 \uac12\uc5d0 \ubc14\uc774\ud2b8\ub97c \uc5f0\uacb0\ud558\ub294 \ud480\ub3c5 \ucd94\uac00\/\ucd94\uac00 \uc791\uc5c5\uacfc \ub2ec\ub9ac, \uc11c\ube0c\ub3c5 \ucd94\uac00 \ubc0f \uc900\ube44 \ucd94\uac00\ub294 JSON\uc744 \uc778\uc2dd\ud569\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.array_append('purchases.complete', 777))\r\n# purchases.complete is now [339, 976, 442, 666, 777]<\/code><\/pre>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.array_prepend('purchases.abandoned', 18))\r\n# purchaes.abandoned in now [18, 157, 49, 999]<\/code><\/pre>\n<p>\ubc30\uc5f4 \uc804\uc6a9 \ubb38\uc11c\ub97c \ub9cc\ub4e0 \ub2e4\uc74c \ub2e4\uc74c\uc744 \uc218\ud589\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. <code>array_<\/code> \uc5f0\uc0b0\uc740 \ube48 \uacbd\ub85c\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.upsert('my_array', [])\r\nbucket.mutate_in('my_array', SD.array_append('', 'some element'))\r\n# the document my_array is now [\"some element\"]<\/code><\/pre>\n<p>\ubc30\uc5f4\uc744 \uace0\uc720 \uc138\ud2b8\ucc98\ub7fc \ucde8\uae09\ud558\ub294 \ub370\uc5d0\ub3c4 \uc81c\ud55c\uc801\uc778 \uc9c0\uc6d0\uc774 \uc874\uc7ac\ud569\ub2c8\ub2e4. <code>array_addunique<\/code> \uba85\ub839\uc744 \uc2e4\ud589\ud569\ub2c8\ub2e4. \uadf8\ub7ec\uba74 \uc2e4\uc81c\ub85c \ud56d\ubaa9\uc744 \ubc30\uc5f4\uc5d0 \ucd94\uac00\ud558\uae30 \uc804\uc5d0 \uc8fc\uc5b4\uc9c4 \uac12\uc774 \uc874\uc7ac\ud558\ub294\uc9c0 \uc5ec\ubd80\ub97c \ud655\uc778\ud569\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.array_addunique('purchases.complete', 95))\r\n# =&gt; Success\r\nbucket.mutate_in('customer123', SD.array_addunique(\u2018purchases.abandoned', 42))\r\n# =&gt;\r\n SubdocPathExists exception!<\/code><\/pre>\n<p>\ubc30\uc5f4 \uc5f0\uc0b0\uc744 \ud6a8\uc728\uc801\uc778 FIFO \ub610\ub294 LIFO \ud050\uc758 \uae30\ucd08\ub85c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uba3c\uc800 \ub300\uae30\uc5f4\uc744 \ub9cc\ub4ed\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.upsert('my_queue', [])<\/code><\/pre>\n<p>\ub05d\uc5d0 \ud56d\ubaa9 \ucd94\uac00\ud558\uae30<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('my_queue', SD.array_append('', 'job:953'))<\/code><\/pre>\n<p>\ucc98\uc74c\ubd80\ud130 \uc544\uc774\ud15c\uc744 \uc18c\ube44\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-python\">rv = bucket.lookup_in('my_queue', SD.get('[0]'))\r\njob_id = rv[0]\r\nbucket.mutate_in('my_queue', SD.remove('[0]'), cas=rv.cas)\r\nrun_job(job_id)<\/code><\/pre>\n<p>\uc704\uc758 \uc608\ub294 <code>GET<\/code> \ub4a4\uc5d0 <code>\uc81c\uac70<\/code>. . <code>\uc81c\uac70<\/code> \uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \uc774\ubbf8 \uc791\uc5c5\uc774 \uc788\ub294 \uacbd\uc6b0\uc5d0\ub9cc \uc218\ud589\ub418\uba70, \uc774\ud6c4 \ubb38\uc11c\uac00 \ubcc0\uacbd\ub418\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub9cc \uc131\uacf5\ud569\ub2c8\ub2e4(\ub300\uae30\uc5f4\uc758 \uccab \ubc88\uc9f8 \ud56d\ubaa9\uc774 \ubc29\uae08 \uc81c\uac70\ud55c \ud56d\ubaa9\uc774 \ub418\ub3c4\ub85d \ud558\uae30 \uc704\ud574).<\/p>\n<h4 id=\"toc_5\">\uce74\uc6b4\ud130 \uc6b4\uc601<\/h4>\n<p>\uce74\uc6b4\ud130 \uc870\uc791\uc744 \ud1b5\ud574 <em>\uc22b\uc790<\/em> \uac12\uc73c\ub85c \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc791\uc5c5\uc740 \ub17c\ub9ac\uc801\uc73c\ub85c <code>\uce74\uc6b4\ud130<\/code> \uc791\uc5c5\uc744 \uc804\uccb4 \ubb38\uc11c\uc5d0 \uc801\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-python\">rv = bucket.mutate_in('customer123', SD.counter('logins', 1))\r\ncur_count = rv[0] # =&gt; 1<\/code><\/pre>\n<p>\uadf8\ub9ac\uace0 <code>\uce74\uc6b4\ud130<\/code> \uc5f0\uc0b0\uc740 \uc22b\uc790 \uac12\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uc0b0\uc220\uc744 \uc218\ud589\ud569\ub2c8\ub2e4(\uac12\uc774 \uc544\uc9c1 \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \uacbd\uc6b0 \uac12\uc774 \uc0dd\uc131\ub429\ub2c8\ub2e4).<\/p>\n<p><code>\uce74\uc6b4\ud130<\/code> \ub3c4 \uac10\uc18c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.upsert('player432', {'gold': 1000})\r\nrv = bucket.mutate_in('player432', SD.counter('gold', -150))\r\nprint('player432 now has {0} gold remaining'.format(rv[0]))\r\n# =&gt; player 432 now has 850 gold remaining<\/code><\/pre>\n<p>\uce74\uc6b4\ud130 \uc5f0\uc0b0\uc5d0 \ub300\ud55c \uae30\uc874 \uac12\uc740 64\ube44\ud2b8 \ubd80\ud638 \uc788\ub294 \uc815\uc218 \ubc94\uc704 \ub0b4\uc5d0 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h4 id=\"toc_6\">\uc911\uac04\uccb4 \uc0dd\uc131<\/h4>\n<p>\uc704\uc758 \ubaa8\ub4e0 \uc608\ub294 \uae30\uc874 \uc0ac\uc804 \ub0b4\uc5d0\uc11c \ud558\ub098\uc758 \uc0c8 \ud544\ub4dc\ub97c \ub9cc\ub4dc\ub294 \uac83\uc744 \ub9d0\ud569\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uc0c8 \uacc4\uce35 \uad6c\uc870\ub97c \ub9cc\ub4e4\uba74 \uc624\ub958\uac00 \ubc1c\uc0dd\ud569\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123',\r\n                 SD.upsert('phone.home', {'num': '775-867-5309', 'ext': 16}))\r\n# =&gt; SubdocPathNotFound<\/code><\/pre>\n<p>\uc774 \uc791\uc5c5\uc740 <code>UPSERT<\/code>\ub97c \uc0ac\uc6a9\ud558\uba74 \ud558\uc704 \ubb38\uc11c\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \ub204\ub77d\ub41c \uacc4\uce35 \uad6c\uc870 \uc0dd\uc131\uc744 \uac70\ubd80\ud569\ub2c8\ub2e4. \ud558\uc704 \ubb38\uc11c\uc758 <code>create_parents<\/code> \uc635\uc158\uc740 \uc131\uacf5\ud560 \uc218 \uc788\uc9c0\ub9cc \uc635\uc158\uc774 \ud638\ucd9c\ub418\ub294 \ud504\ub85c\ud1a0\ucf5c \uc218\uc900\uc744 \ucd94\uac00\ud558\uc2ed\uc2dc\uc624. <code>F_MKDIRP<\/code>\uc640 \uac19\uc740 <code>-p<\/code> \uc635\uc158\uc758 <code>mkdir<\/code> \uba85\ub839\uc744 \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123',\r\n                 SD.upsert('phone.home',\r\n                           {'num': '775-867-5309', 'ext': 16},\r\n                           create_parents=True))<\/code><\/pre>\n<h3 id=\"toc_7\">\ud558\uc704 \ubb38\uc11c \ubc0f CAS<\/h3>\n<p>\uc11c\ube0c\ub2e5\uc740 \ub300\ubd80\ubd84 \ucd94\uc801\uc758 \ud544\uc694\uc131\uc744 \uc5c6\uc560\uc90d\ub2c8\ub2e4. <a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/4.0\/developer-guide\/cas-concurrency.html\">CAS<\/a>. \ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc740 \uc6d0\uc790\uc801\uc774\uae30 \ub54c\ubb38\uc5d0 \ub450 \uac1c\uc758 \ub2e4\ub978 \uc2a4\ub808\ub4dc\uac00 \ub450 \uac1c\uc758 \ub2e4\ub978 \ud558\uc704 \ubb38\uc11c\uc5d0 \uc561\uc138\uc2a4\ud574\ub3c4 \ucda9\ub3cc\uc774 \ubc1c\uc0dd\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \ub2e4\uc74c \ub450 \ube14\ub85d\uc740 \ucda9\ub3cc \uc704\ud5d8 \uc5c6\uc774 \ub3d9\uc2dc\uc5d0 \uc2e4\ud589\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.array_append('purchases.complete', 999))<\/code><\/pre>\n<pre><code class=\"language-python\">bucket.mutate_in('customer123', SD.array_append(\u2018purchases.abandoned', 998))<\/code><\/pre>\n<p>\uc218\uc815\ud560 \ub54c\uc5d0\ub3c4 <em>\ub3d9\uc77c<\/em> \ubd80\ubd84\uc758 \uacbd\uc6b0, \ub450 \uac1c\uc758 \ub3d9\uc2dc \uc791\uc5c5\uacfc \uac19\uc774 \ubc18\ub4dc\uc2dc \ucda9\ub3cc\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. <code>ARRAY_PREPEND<\/code> \ub97c \uac19\uc740 \ubc30\uc5f4\uc5d0 \ucd94\uac00\ud558\uba74 \ub458 \ub2e4 \uc131\uacf5\ud558\uba70 \ub2e4\ub978 \ubc30\uc5f4\uc744 \ub36e\uc5b4\uc4f0\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uadf8\ub807\ub2e4\uace0 \ud574\uc11c CAS\uac00 \ub354 \uc774\uc0c1 \ud544\uc694\ud558\uc9c0 \uc54a\ub2e4\ub294 \uc758\ubbf8\ub294 \uc544\ub2d9\ub2c8\ub2e4. <em>\uc804\uccb4 \ubb38\uc11c<\/em> \uac00 \ub9c8\uc9c0\ub9c9 \uc791\uc5c5 \uc774\ud6c4 \uc0c1\ud0dc\uac00 \ubcc0\uacbd\ub418\uc9c0 \uc54a\uc740 \uacbd\uc6b0: \uc774\ub294 \ud2b9\ud788 \ub2e4\uc74c\uacfc \uac19\uc740 \uacbd\uc6b0\uc5d0 \uc911\uc694\ud569\ub2c8\ub2e4. <code>\uc81c\uac70<\/code> \uc791\uc5c5\uc744 \uc218\ud589\ud558\uc5ec \uc81c\uac70\ub418\ub294 \uc694\uc18c\uac00 \uc774\ubbf8 \ub2e4\ub978 \uc694\uc18c\ub85c \ub300\uccb4\ub418\uc9c0 \uc54a\uc558\ub294\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4.<\/p>\n<h3 id=\"toc_8\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4\uc758 \ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc5d0 \ub300\ud55c FAQ<\/h3>\n<p>\uc11c\ube0c\ub2e5\uc744 \uac1c\ubc1c\ud558\ub294 \uacfc\uc815\uc5d0\uc11c \uc11c\ube0c\ub2e5\uc758 \uae30\ub2a5\uc5d0 \ub300\ud574 \uba87 \uac00\uc9c0 \uc9c8\ubb38\uc744 \ubc1b\uc558\ub294\ub370, \ucc28\ub840\ub85c \ub2f5\ubcc0\ud574 \ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<h5 id=\"toc_9\">Subdoc\uacfc N1QL\uc758 \ucc28\uc774\uc810\uc740 \ubb34\uc5c7\uc778\uac00\uc694?<\/h5>\n<p>N1QL\uc740 \ud48d\ubd80\ud558\uace0 \ud45c\ud604\ub825\uc774 \ud48d\ubd80\ud55c \ucffc\ub9ac \uc5b8\uc5b4\ub85c \ub2e4\uc74c\uc744 \uac80\uc0c9\ud558\uace0 \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <em>\uc5ec\ub7ec \ubb38\uc11c<\/em> \uc744 \ud55c \ubc88\uc5d0 \uac80\uc0c9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Subdoc\uc740 \ud55c \ubb38\uc11c \ub0b4\uc5d0\uc11c \uac80\uc0c9\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uacc4\ub41c \uace0\uc131\ub2a5 API\/\uad6c\ud604\uc785\ub2c8\ub2e4. <em>\ub2e8\uc77c \ubb38\uc11c<\/em>.<\/p>\n<p>\ud558\uc704 \ubb38\uc11c\ub294 <em>\uace0\uc131\ub2a5<\/em> \uc758 <em>\uac04\ub2e8\ud558\uace0 \uc2e0\uc911\ud55c API<\/em> \ub2e8\uc77c \ubb38\uc11c \ub0b4\uc5d0\uc11c \ub370\uc774\ud130\uc5d0 \uc561\uc138\uc2a4\ud558\ub294 \ub370 \ud544\uc694\ud55c \uc2dc\uac04\uc744 \uc904\uc774\uae30 \uc704\ud574 <em>\ub124\ud2b8\uc6cc\ud06c \ub300\uc5ed\ud3ed<\/em> \uc804\uccb4 \ucc98\ub9ac\ub7c9\uc744 \uc99d\uac00\uc2dc\ud0b5\ub2c8\ub2e4. \uc774 \uc11c\ube44\uc2a4\ub294 KV \uc11c\ube44\uc2a4\uc758 \uc77c\ubd80\ub85c \uad6c\ud604\ub418\uc5c8\uae30 \ub54c\ubb38\uc5d0 \uc774 \uc11c\ube44\uc2a4\uc640\uc758 \uc77c\uad00\uc131\uc774 \ub9e4\uc6b0 \ub192\uc2b5\ub2c8\ub2e4.<\/p>\n<p>N1QL\uc740 <em>\ud48d\ubd80\ud55c \ucffc\ub9ac \uc5b8\uc5b4<\/em> \ud2b9\uc815 \uae30\uc900\uc744 \uc900\uc218\ud558\ub294 Couchbase \ub0b4\uc758 \uc5ec\ub7ec \ubb38\uc11c\ub97c \uac80\uc0c9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc791\ub3d9 \ubc29\uc2dd <em>\uc678\ubd80<\/em> \ub97c \uc0ac\uc6a9\ud558\uc5ec \ub4e4\uc5b4\uc624\ub294 \ucffc\ub9ac\ub97c \ucda9\uc871\ud558\uae30 \uc704\ud574 \ucd5c\uc801\ud654\ub41c KV \ubc0f \uc778\ub371\uc2a4 \uc694\uccad\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. KV \uc11c\ube44\uc2a4\uc640\uc758 \uc77c\uad00\uc131\uc740 \ucffc\ub9ac\ubcc4\ub85c \uad6c\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4(\uc608\ub97c \ub4e4\uc5b4, \ucffc\ub9ac\ub2f9 <code>\uc0ac\uc6a9 \ud0a4<\/code> \uc870\ud56d\uacfc <code>\uc2a4\uce94 \uc77c\uad00\uc131<\/code> \uc635\uc158).<\/p>\n<h5 id=\"toc_10\">N1QL\uc740 \uc5b8\uc81c \uc0ac\uc6a9\ud574\uc57c \ud558\uace0 \uc11c\ube0c\ub2e5\uc740 \uc5b8\uc81c \uc0ac\uc6a9\ud574\uc57c \ud558\ub098\uc694?<\/h5>\n<p>N1QL\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc9c8\ubb38\uc5d0 \ub300\ud55c \ub2f5\ubcc0\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. <em>X=42, Y=77\uc778 \ubaa8\ub4e0 \ubb38\uc11c \ucc3e\uae30<\/em> \ud558\uc704 \ubb38\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc9c8\ubb38\uc5d0 \ub300\ud55c \ub2f5\ubcc0\uc785\ub2c8\ub2e4. <em>\ubb38\uc11c Z\uc5d0\uc11c X\uc640 Y \uac00\uc838\uc624\uae30<\/em>. \ubcf4\ub2e4 \uad6c\uccb4\uc801\uc73c\ub85c\ub294 \ubaa8\ub4e0 \ubb38\uc11c ID\ub97c \uc54c\uace0 \uc788\ub294 \uacbd\uc6b0(\uc989, N1QL \ucffc\ub9ac\uc5d0 \ub2e4\uc74c\uc774 \ud3ec\ud568\ub41c \uacbd\uc6b0) subdoc\uc744 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. <code>\uc0ac\uc6a9 \ud0a4<\/code> \ud558\uc704 \ubb38\uc11c \ud6c4\ubcf4\uac00 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4).<\/p>\n<p>\uadf8\ub7ec\ub098 \uc774 \ub458\uc740 \uc0c1\ud638 \ubc30\ud0c0\uc801\uc778 \uac83\uc774 \uc544\ub2c8\uba70 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c N1QL\uacfc \ud558\uc704 \ubb38\uc11c\ub97c \ubaa8\ub450 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h5 id=\"toc_11\">Are <code>mutate_in<\/code> \uadf8\ub9ac\uace0 <code>lookup_in<\/code> \uc6d0\uc790?<\/h5>\n<p>\uc608, \uc6d0\uc790 \uc5f0\uc0b0\uc785\ub2c8\ub2e4. \uc774 \ub450 \uc791\uc5c5 \ubaa8\ub450 \ubaa8\ub4e0 \ud558\uc704 \uba85\ub839(\uc608 <code>\uce74\uc6b4\ud130<\/code>, <code>GET<\/code>, <code>\uc874\uc7ac<\/code>, <code>ADD_UNIQUE<\/code>)\ub294 \ub3d9\uc77c\ud55c \ubc84\uc804\uc758 \ubb38\uc11c\uc5d0\uc11c \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<h5 id=\"toc_12\">\ud558\uc704 \ubb38\uc11c\ub85c \uc5ec\ub7ec \ubb38\uc11c\uc5d0 \uc561\uc138\uc2a4\ud558\ub824\uba74 \uc5b4\ub5bb\uac8c \ud558\ub098\uc694?<\/h5>\n<p>\uc120\uc758\ub294 \uc5c6\uc2b5\ub2c8\ub2e4. <em>\uba40\ud2f0<\/em> \uc5f0\uc0b0\uc740 \ud558\uc704 \ubb38\uc11c\uac00 \ub2e8\uc77c \ubb38\uc11c\uc758 \ubc94\uc704 \ub0b4\uc5d0\uc11c \uc791\ub3d9\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \ubb38\uc11c\uac00 \ud074\ub7ec\uc2a4\ud130 \uc804\uccb4\uc5d0 \uac78\uccd0 \uc0e4\ub529\ub418\uae30 \ub54c\ubb38\uc5d0(\uc774\ub294 Couchbase\uc640 \ub2e4\ub978 \ubaa8\ub4e0 NoSQL \uc800\uc7a5\uc18c\uc5d0 \uacf5\ud1b5\uc801\uc73c\ub85c \uc801\uc6a9\ub428), \ub2e4\uc911 \uc791\uc5c5\uc740 \ubb38\uc11c \uac04\uc5d0 \ub3d9\uc77c\ud55c \uc218\uc900\uc758 \ud2b8\ub79c\uc7ad\uc158\uacfc \uc6d0\uc790\uc131\uc744 \ubcf4\uc7a5\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n<h5 id=\"toc_13\">\ubc30\uc5f4\uc758 \uba85\uba85 \uaddc\uce59\uc774 \ub9c8\uc74c\uc5d0 \ub4e4\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc65c <code>\ucd94\uac00<\/code>, <code>\ucd94\uac00<\/code>\ub4f1?<\/h5>\n<p>\uc2dc\uc911\uc5d0\ub294 \ub9ce\uc740 \uc5b8\uc5b4\uac00 \uc788\uc73c\uba70 \ubc30\uc5f4 \uc561\uc138\uc2a4 \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ubaa8\ub450 \ub2e4\ub978 \uc0dd\uac01\uc744 \uac00\uc9c0\uace0 \uc788\ub294 \uac83 \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc77c\ubc18: \ub05d\uc5d0 \ucd94\uac00, \uc55e\uc5d0 \ucd94\uac00<\/li>\n<li>C++: <code>push_back()<\/code>, <code>push_front()<\/code><\/li>\n<li>Python: <code>append()<\/code>, <code>\uc0bd\uc785(0)<\/code>, <code>\ud655\uc7a5<\/code><\/li>\n<li>Perl, Ruby, \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8, PHP: <code>push()<\/code>, <code>unshift()<\/code><\/li>\n<li>Java, C#: <code>add()<\/code><\/li>\n<\/ul>\n<p>\uc6a9\uc5b4 <code>\ucd94\uac00<\/code> \ub294 \uc774\ubbf8 \uc804\uccb4 \ubb38\uc11c \ubc14\uc774\ud2b8 \uc5f0\uacb0\uc744 \uc9c0\uce6d\ud558\uae30 \uc704\ud574 Couchbase\uc5d0\uc11c \uc0ac\uc6a9\ub418\uace0 \uc788\uc73c\ubbc0\ub85c \ud558\uc704 \ubb38\uc11c\uc5d0\uc11c \uc774 \uc6a9\uc5b4\ub97c \ub610 \ub2e4\ub978 \ubc29\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \uac83\uc740 \uc77c\uad00\uc131\uc774 \uc5c6\ub2e4\uace0 \uc0dd\uac01\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<h5 id=\"toc_14\">\uc65c <code>\uce74\uc6b4\ud130<\/code> 64\ube44\ud2b8 \ubd80\ud638 \uc788\ub294 \uc815\uc218\uac00 \ud544\uc694\ud569\ub2c8\uae4c?<\/h5>\n<p>\uc774\ub294 \uc11c\ube0c\ub3c4\ud050\uba3c\ud2b8 \ucf54\ub4dc\uac00 C++\ub85c \uad6c\ud604\ub41c \uacb0\uacfc\uc785\ub2c8\ub2e4. \ud5a5\ud6c4 \uad6c\ud604\uc5d0\uc11c\ub294 \ub354 \ub113\uc740 \ubc94\uc704\uc758 \uae30\uc874 \uc22b\uc790 \uac12(\uc608: \ud070 \uac12, \uc801\ubd84\uc774 \uc544\ub2cc \uac12 \ub4f1)\uc744 \ud5c8\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h5 id=\"toc_15\">\uc5b4\ub5bb\uac8c \uc218\ud589\ud558\ub098\uc694? <em>\ud31d<\/em>\uc65c \uc5c6\ub098\uc694? <code>POP<\/code> \uc791\ub3d9\ud569\ub2c8\uae4c?<\/h5>\n<p><code>POP<\/code> \ub294 \ud55c \ubc88\uc758 \uc791\uc5c5\uc73c\ub85c \ubc30\uc5f4\uc5d0\uc11c \ud56d\ubaa9\uc744 \uc81c\uac70\ud558\uace0 \ubc18\ud658\ud558\ub294 \uc791\uc5c5\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4.<\/p>\n<p><code>POP<\/code> \ub294 \ud5a5\ud6c4 \uc2e4\uc81c\ub85c \uad6c\ud604\ub420 \uc218 \uc788\uc9c0\ub9cc, \uc774\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc740 \ubcf8\uc9c8\uc801\uc73c\ub85c \uc704\ud5d8\ud569\ub2c8\ub2e4:<\/p>\n<p>\uc774 \uc791\uc5c5\uc740 \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc218\ud589\ub418\ubbc0\ub85c \uc11c\ubc84\uac00 \ud56d\ubaa9 \uc81c\uac70\ub97c \uc2e4\ud589\ud588\uc9c0\ub9cc \ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \uc774\uc804 \uac12\uc744 \ubc1b\uae30 \uc804\uc5d0 \ub124\ud2b8\uc6cc\ud06c \uc5f0\uacb0\uc774 \uc885\ub8cc\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uacbd\uc6b0 \ud574\ub2f9 \uac12\uc740 \ub354 \uc774\uc0c1 \ubb38\uc11c\uc5d0 \uc874\uc7ac\ud558\uc9c0 \uc54a\uc73c\ubbc0\ub85c \uc601\uad6c\uc801\uc73c\ub85c \uc190\uc2e4\ub429\ub2c8\ub2e4.<\/p>\n<h5 id=\"toc_16\">\ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc5d0 CAS\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub098\uc694?<\/h5>\n<p>\uc608, CAS \uc0ac\uc6a9\uacfc \uad00\ub828\ud558\uc5ec \ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc740 \ub2e4\uc74c\uacfc \uc720\uc0ac\ud55c \uc77c\ubc18\uc801\uc778 KV API \uc791\uc5c5\uc785\ub2c8\ub2e4. <code>\uc5c5\uc11c\ud2b8<\/code>, <code>get<\/code>\ub4f1<\/p>\n<h5 id=\"toc_17\">\ud558\uc704 \ubb38\uc11c \uc791\uc5c5\uc5d0 \ub0b4\uad6c\uc131 \uc694\uad6c \uc0ac\ud56d\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub098\uc694?<\/h5>\n<p>\uc608, \ub0b4\uad6c\uc131 \uc694\uad6c \uc0ac\ud56d\uacfc \uad00\ub828\ud558\uc5ec \uadf8\ub807\uc2b5\ub2c8\ub2e4, <code>mutate_in<\/code> \uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \ud45c\uc2dc\ub429\ub2c8\ub2e4. <code>\uc5c5\uc11c\ud2b8<\/code>, <code>\uc0bd\uc785<\/code> \uadf8\ub9ac\uace0 <code>\ub300\uccb4<\/code>.<\/p>","protected":false},"excerpt":{"rendered":"<p>In Matthew&#8217;s blog the Sub-Document (subdoc) API feature is introduced with a short overview: In summary, subdoc allows efficient access to parts of documents (sub-documents) without requiring the transfer of the entire document over the network. Throughout this blog, we&#8217;ll [&hellip;]<\/p>","protected":false},"author":38,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816],"tags":[1587],"ppma_author":[8997],"class_list":["post-2174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","tag-subdoc"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.4 (Yoast SEO v26.4) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sub-Document API: Using Subdoc to Get (Only) What You Want<\/title>\n<meta name=\"description\" content=\"The Subdoc API feature allows efficient access to parts of documents (sub-documents) without requiring the transfer of the entire document over the network.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/ko\/subdoc-explained\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the Sub-Document API to get (only) what you want\" \/>\n<meta property=\"og:description\" content=\"The Subdoc API feature allows efficient access to parts of documents (sub-documents) without requiring the transfer of the entire document over the network.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/ko\/subdoc-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-28T18:54:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-04T23:06:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/11\/couchbase-nosql-dbaas.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mark Nunberg, Software Engineer, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Nunberg, Software Engineer, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/\"},\"author\":{\"name\":\"Mark Nunberg, Software Engineer, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/76a75284da32b6f257c8e5e156e6e016\"},\"headline\":\"Using the Sub-Document API to get (only) what you want\",\"datePublished\":\"2016-07-28T18:54:41+00:00\",\"dateModified\":\"2022-11-04T23:06:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/\"},\"wordCount\":1638,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"keywords\":[\"subdoc\"],\"articleSection\":[\"Couchbase Server\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/\",\"name\":\"Sub-Document API: Using Subdoc to Get (Only) What You Want\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2016-07-28T18:54:41+00:00\",\"dateModified\":\"2022-11-04T23:06:32+00:00\",\"description\":\"The Subdoc API feature allows efficient access to parts of documents (sub-documents) without requiring the transfer of the entire document over the network.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the Sub-Document API to get (only) what you want\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/76a75284da32b6f257c8e5e156e6e016\",\"name\":\"Mark Nunberg, Software Engineer, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/895cad0986a0ab674fda857b6ba71ce0\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5a465565eb8a3990192957806a9bc2989ba9f52a5f953d988b5e8afff3b6dc7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5a465565eb8a3990192957806a9bc2989ba9f52a5f953d988b5e8afff3b6dc7?s=96&d=mm&r=g\",\"caption\":\"Mark Nunberg, Software Engineer, Couchbase\"},\"description\":\"Mark Nunberg is a software engineer working at Couchbase. He maintains the C client library (libcouchbase) as well as the Python client. He also developed the Perl client (for use at his previous company) - which initially led him to working at Couchbase. Prior to joining Couchbase, he worked on distributed and high performance routing systems at an eCommerce analytics firm. Mark studied Linguistics at the Hebrew University of Jerusalem.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/ko\/author\/mark-nunberg\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sub-Document API: Using Subdoc to Get (Only) What You Want","description":"\ud558\uc704 \ubb38\uc11c API \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uba74 \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc804\uccb4 \ubb38\uc11c\ub97c \uc804\uc1a1\ud560 \ud544\uc694 \uc5c6\uc774 \ubb38\uc11c\uc758 \uc77c\ubd80(\ud558\uc704 \ubb38\uc11c)\uc5d0 \ud6a8\uc728\uc801\uc73c\ub85c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/ko\/subdoc-explained\/","og_locale":"ko_KR","og_type":"article","og_title":"Using the Sub-Document API to get (only) what you want","og_description":"The Subdoc API feature allows efficient access to parts of documents (sub-documents) without requiring the transfer of the entire document over the network.","og_url":"https:\/\/www.couchbase.com\/blog\/ko\/subdoc-explained\/","og_site_name":"The Couchbase Blog","article_published_time":"2016-07-28T18:54:41+00:00","article_modified_time":"2022-11-04T23:06:32+00:00","og_image":[{"width":1800,"height":630,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/11\/couchbase-nosql-dbaas.png","type":"image\/png"}],"author":"Mark Nunberg, Software Engineer, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mark Nunberg, Software Engineer, Couchbase","Est. reading time":"9\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/"},"author":{"name":"Mark Nunberg, Software Engineer, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/76a75284da32b6f257c8e5e156e6e016"},"headline":"Using the Sub-Document API to get (only) what you want","datePublished":"2016-07-28T18:54:41+00:00","dateModified":"2022-11-04T23:06:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/"},"wordCount":1638,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","keywords":["subdoc"],"articleSection":["Couchbase Server"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/","url":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/","name":"Sub-Document API: Using Subdoc to Get (Only) What You Want","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2016-07-28T18:54:41+00:00","dateModified":"2022-11-04T23:06:32+00:00","description":"\ud558\uc704 \ubb38\uc11c API \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uba74 \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 \uc804\uccb4 \ubb38\uc11c\ub97c \uc804\uc1a1\ud560 \ud544\uc694 \uc5c6\uc774 \ubb38\uc11c\uc758 \uc77c\ubd80(\ud558\uc704 \ubb38\uc11c)\uc5d0 \ud6a8\uc728\uc801\uc73c\ub85c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/subdoc-explained\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/subdoc-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using the Sub-Document API to get (only) what you want"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ube14\ub85c\uadf8","description":"NoSQL \ub370\uc774\ud130\ubca0\uc774\uc2a4, Couchbase","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ube14\ub85c\uadf8","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/76a75284da32b6f257c8e5e156e6e016","name":"\ub9c8\ud06c \ub10c\ubc84\uadf8, \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc5d4\uc9c0\ub2c8\uc5b4, \uce74\uc6b0\uce58\ubca0\uc774\uc2a4","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/895cad0986a0ab674fda857b6ba71ce0","url":"https:\/\/secure.gravatar.com\/avatar\/d5a465565eb8a3990192957806a9bc2989ba9f52a5f953d988b5e8afff3b6dc7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5a465565eb8a3990192957806a9bc2989ba9f52a5f953d988b5e8afff3b6dc7?s=96&d=mm&r=g","caption":"Mark Nunberg, Software Engineer, Couchbase"},"description":"\ub9c8\ud06c \ub10c\ubc84\uadf8\ub294 \uce74\uc6b0\uce58\ubca0\uc774\uc2a4\uc5d0\uc11c \uc77c\ud558\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc5d4\uc9c0\ub2c8\uc5b4\uc785\ub2c8\ub2e4. \uadf8\ub294 C \ud074\ub77c\uc774\uc5b8\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac(libcouchbase)\uc640 Python \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \uc720\uc9c0 \uad00\ub9ac\ud569\ub2c8\ub2e4. \ub610\ud55c \uc774\uc804 \ud68c\uc0ac\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub358 Perl \ud074\ub77c\uc774\uc5b8\ud2b8\ub3c4 \uac1c\ubc1c\ud588\ub294\ub370, \uc774\uac83\uc774 Couchbase\uc5d0\uc11c \uc77c\ud558\uac8c \ub41c \uacc4\uae30\uac00 \ub418\uc5c8\uc2b5\ub2c8\ub2e4. Couchbase\uc5d0 \uc785\uc0ac\ud558\uae30 \uc804\uc5d0\ub294 \uc804\uc790\uc0c1\uac70\ub798 \ubd84\uc11d \ud68c\uc0ac\uc5d0\uc11c \ubd84\uc0b0\ud615 \uace0\uc131\ub2a5 \ub77c\uc6b0\ud305 \uc2dc\uc2a4\ud15c\uc744 \uac1c\ubc1c\ud588\uc2b5\ub2c8\ub2e4. Mark\ub294 \uc608\ub8e8\uc0b4\ub818 \ud788\ube0c\ub9ac \ub300\ud559\uad50\uc5d0\uc11c \uc5b8\uc5b4\ud559\uc744 \uc804\uacf5\ud588\uc2b5\ub2c8\ub2e4.","url":"https:\/\/www.couchbase.com\/blog\/ko\/author\/mark-nunberg\/"}]}},"authors":[{"term_id":8997,"user_id":38,"is_guest":0,"slug":"mark-nunberg","display_name":"Mark Nunberg, Software Engineer, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/d5a465565eb8a3990192957806a9bc2989ba9f52a5f953d988b5e8afff3b6dc7?s=96&d=mm&r=g","author_category":"","last_name":"Nunberg","first_name":"Mark","job_title":"","user_url":"","description":"\ub9c8\ud06c \ub10c\ubc84\uadf8\ub294 \uce74\uc6b0\uce58\ubca0\uc774\uc2a4\uc5d0\uc11c \uc77c\ud558\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc5d4\uc9c0\ub2c8\uc5b4\uc785\ub2c8\ub2e4. \uadf8\ub294 C \ud074\ub77c\uc774\uc5b8\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac(libcouchbase)\uc640 Python \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \uc720\uc9c0 \uad00\ub9ac\ud569\ub2c8\ub2e4. \ub610\ud55c \uc774\uc804 \ud68c\uc0ac\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub358 Perl \ud074\ub77c\uc774\uc5b8\ud2b8\ub3c4 \uac1c\ubc1c\ud588\ub294\ub370, \uc774\uac83\uc774 Couchbase\uc5d0\uc11c \uc77c\ud558\uac8c \ub41c \uacc4\uae30\uac00 \ub418\uc5c8\uc2b5\ub2c8\ub2e4. Couchbase\uc5d0 \uc785\uc0ac\ud558\uae30 \uc804\uc5d0\ub294 \uc804\uc790\uc0c1\uac70\ub798 \ubd84\uc11d \ud68c\uc0ac\uc5d0\uc11c \ubd84\uc0b0\ud615 \uace0\uc131\ub2a5 \ub77c\uc6b0\ud305 \uc2dc\uc2a4\ud15c\uc744 \uac1c\ubc1c\ud588\uc2b5\ub2c8\ub2e4. Mark\ub294 \uc608\ub8e8\uc0b4\ub818 \ud788\ube0c\ub9ac \ub300\ud559\uad50\uc5d0\uc11c \uc5b8\uc5b4\ud559\uc744 \uc804\uacf5\ud588\uc2b5\ub2c8\ub2e4."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/2174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/comments?post=2174"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/2174\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media?parent=2174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/categories?post=2174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/tags?post=2174"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/ppma_author?post=2174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}