{"id":13596,"date":"2022-07-26T08:37:35","date_gmt":"2022-07-26T15:37:35","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=13596"},"modified":"2025-06-13T17:20:45","modified_gmt":"2025-06-14T00:20:45","slug":"from-n1ql-to-javascript-and-back-part-2","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/ko\/from-n1ql-to-javascript-and-back-part-2\/","title":{"rendered":"N1QL\uc5d0\uc11c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uae4c\uc9c0 - 2\ubd80: \uae30\ubcf8 \uc0ac\uc6a9\ubc95"},"content":{"rendered":"<p><a href=\"https:\/\/www.couchbase.com\/blog\/ko\/from-n1ql-to-javascript-and-back-part-1-introduction\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">\uc774\uc804 \ube14\ub85c\uadf8<\/span><\/a><span style=\"font-weight: 400;\"> \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218\uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uc744 \uc18c\uac1c\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774\uc81c \uc880 \ub354 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">JavaScript \ucf54\ub4dc \ub0b4\uc5d0\uc11c N1QL \ubb38\uc744 \uc2e4\ud589\ud558\ub294 \uae30\ubcf8 \uba54\ucee4\ub2c8\uc998\ubd80\ud130 \uc2dc\uc791\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 N1QL<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">JavaScript \ud568\uc218 \ub0b4\uc5d0\uc11c N1QL \ubb38\uc744 \uc2e4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0\ub294 \ub450 \uac00\uc9c0\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc801\uc808\ud55c \uc774\ub984\uc758 \ud568\uc218\ub97c \uc9c1\uc811 \ud638\ucd9c\ud558\uac70\ub098 JavaScript \ucef4\ud30c\uc77c\ub7ec\uac00 \ub0b4\uc7a5\ub41c N1QL \ubb38\uc744 \uac10\uc9c0\ud558\uc5ec \ud574\ub2f9 N1QL() \ud638\ucd9c\uc744 \uc0dd\uc131\ud558\ub3c4\ub85d \ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uac01 \ubc29\ubc95\uc744 \uc544\ub798\uc5d0\uc11c \uc0b4\ud3b4\ubd05\ub2c8\ub2e4.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">\uc0ac\uc804 \uc694\uad6c \uc0ac\ud56d \uc608\uc2dc<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c \uc139\uc158\uc5d0\ub294 \uc5ec\ub7ec \uac00\uc9c0 \uc608\uac00 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774\ub7ec\ud55c \uae30\ub2a5\uc740 \uc644\ubcbd\ud558\uac8c \uc791\ub3d9\ud558\uc9c0\ub9cc \uc774\ub97c \uc2e4\ud589\ud558\ub824\uba74 \ub2e4\uc74c\uc774 \ud544\uc694\ud569\ub2c8\ub2e4:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\ubc84\uc804 7.1 \uc774\uc0c1\uc758 Couchbase \ud074\ub7ec\uc2a4\ud130<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\ub77c\ub294 \ubc84\ud0b7\uc744 <\/span><i><span style=\"font-weight: 400;\">b1<\/span><\/i><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\uc758 \uae30\ubcf8 \uc778\ub371\uc2a4 <\/span><i><span style=\"font-weight: 400;\">b1<\/span><\/i><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\ub77c\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0 \uac01 \ud568\uc218\ub97c \ub9cc\ub4e4\ub824\uba74 <\/span><i><span style=\"font-weight: 400;\">udfblog<\/span><\/i><span style=\"font-weight: 400;\">\ubc0f<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\ub2f9 N1QL UDF\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\uc6f9 \ucf58\uc194\uc758 UDF \ud0ed\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud568\uc218 \ubc0f UDF\ub97c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">N1QL() \ud568\uc218<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\uadf8\ub9ac\uace0 <em>N1QL()<\/em> \ud568\uc218\ub294 \ubb38\uc790\uc5f4 \ud615\uc2dd\uc758 \ubb38\uacfc \uc790\ub9ac \ud45c\uc2dc\uc790 \uac12\uc744 \ud3ec\ud568\ud558\ub294 \ub450 \ubc88\uc9f8 \uc120\ud0dd\uc801 \ub9e4\uac1c\ubcc0\uc218\ub97c \ubc1b\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub9e4\uac1c \ubcc0\uc218\ub97c \ubc1b\uc9c0 \uc54a\uace0 \uac12\uc744 \ubc18\ud658\ud558\uc9c0 \uc54a\ub294 N1QL \ubb38\uc744 \uc2e4\ud589\ud558\ub294 \ub370 \ud544\uc694\ud55c \uac83\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13598 size-large\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/07\/snippet1-1024x101.jpg\" alt=\"\" width=\"900\" height=\"89\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1-1024x101.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1-300x29.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1-768x75.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1-1536x151.jpg 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1-20x2.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1-1320x130.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet1.jpg 2016w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\ubc0f \ud574\ub2f9 UDF:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">CREATE FUNCTION doInsert() LANGUAGE JAVASCRIPT AS \"doInsert\" AT \"udfblog\"<\/pre>\n<p><span style=\"font-weight: 400;\">(\ud568\uc218 \uc790\uccb4\uac00 \uac12\uc744 \ubc18\ud658\ud558\uc9c0 \uc54a\ub294\ub2e4\ub294 \uc810\uc740 \uc7a0\uc2dc \uc78a\uc73c\uc138\uc694. \ub610\ud55c \uc774\ubbf8\uc9c0\ub85c \ud45c\uc2dc\ub41c \ucf54\ub4dc \uc2a4\ub2c8\ud3ab\uc740 \uc6cc\ub4dc\ud504\ub808\uc2a4\uc5d0\uc11c \ud14d\uc2a4\ud2b8\ub85c \ub80c\ub354\ub9c1\ud558\ub294 \uac83\uc744 \uc88b\uc544\ud558\uc9c0 \uc54a\uc544\uc11c \uc8c4\uc1a1\ud569\ub2c8\ub2e4.)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc5b8\uc81c <em>N1QL()<\/em> \ud568\uc218\uac00 \ud638\ucd9c\ub418\uba74 \uccab \ubc88\uc9f8 \ub9e4\uac1c\ubcc0\uc218\ub85c \uc804\ub2ec\ub41c \ubb38\uc774 \uad6c\ubb38 \ubd84\uc11d, \uacc4\ud68d \ubc0f \uc2e4\ud589\ub429\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ubb38\uc774 \uac12\uc744 \ubc18\ud658\ud558\uc9c0 \uc54a\uc73c\uba74 N1QL \ud568\uc218\uac00 \ubc18\ud658\ub420 \ub54c\uae4c\uc9c0 \ubb38\uc774 \uc2e4\ud589\uc744 \uc644\ub8cc\ud55c \uac83\uc785\ub2c8\ub2e4(\uc774 \ud2b9\ubcc4\ud55c \uacbd\uc6b0\uc5d0\ub294 \ubc84\ud0b7 <\/span><i><span style=\"font-weight: 400;\">b1<\/span><\/i><span style=\"font-weight: 400;\"> \uac00 \uc874\uc7ac\ud558\uace0 \ud0a4 <\/span><i><span style=\"font-weight: 400;\">k1<\/span><\/i><span style=\"font-weight: 400;\"> \uac00 \uc544\uc9c1 \uc874\uc7ac\ud558\uc9c0 \uc54a\uc73c\uba74 \uc0c8 \ubb38\uc11c\uac00 \uc0bd\uc785\ub429\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">ESQL\/C \ub610\ub294 PL\/SQL\uc5d0 \uc775\uc219\ud55c \uacbd\uc6b0 <\/span><em><span style=\"font-weight: 400;\">\uc989\uc2dc \uc2e4\ud589<\/span><\/em><span style=\"font-weight: 400;\"> \ubb38, \uc989 <em>N1QL()<\/em> \ud568\uc218\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 UDF\uc5d0 \ud574\ub2f9\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uac12\uc774 \ubc18\ud658\ub418\uba74 \ubc18\ud658 \uac12\uc740 <em>N1QL()<\/em> \ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc774\ud130\ub808\uc774\ud130\ub85c, \ub098\uc911\uc5d0 \uc0b4\ud3b4\ubcf4\uaca0\uc9c0\ub9cc \ud55c \ubc88\uc5d0 \ud558\ub098\uc529 \uac12\uc744 \uc218\uc9d1\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">\ub3d9\uc801 N1QL<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\ubb3c\ub860, \ub2e4\ub978 \uc6a9\ub3c4\ub85c\ub294 <em>N1QL()<\/em> \ud568\uc218\ub294 \uc608\ub97c \ub4e4\uc5b4 \ubb38\uc790\uc5f4\uc744 \uc5f0\uacb0\ud558\uc5ec \ub3d9\uc801\uc73c\ub85c \ubb38\uc744 \uc791\uc131\ud558\ub294 \uac83\uc785\ub2c8\ub2e4:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13599\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/07\/snippet2-1024x186.jpg\" alt=\"\" width=\"900\" height=\"163\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2-1024x186.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2-300x55.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2-768x140.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2-1536x279.jpg 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2-20x4.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2-1320x240.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet2.jpg 2014w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\uc774\ub294 \uc644\ubcbd\ud558\uac8c \ud569\ubc95\uc801\uc774\uc9c0\ub9cc, N1QL(\ub610\ub294 \ub354 \uc77c\ubc18\uc801\uc73c\ub85c SQL) \uc778\uc81d\uc158\uc758 \uc704\ud5d8\uc744 \uace0\ub824\ud560 \ub54c \uc774\ub7ec\ud55c \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc9c0 \uc54a\ub294 \uac83\uc774 \uac00\uc7a5 \uc88b\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub300\uc2e0 \uc790\ub9ac \ud45c\uc2dc\uc790\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ud2b8\ub79c\uc2a4\ud30c\uc77c\ub7ec<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">N1QL\uc744 \uc2e4\ud589\ud558\ub294 \ub450 \ubc88\uc9f8 \ubc29\ubc95\uc740 \ud568\uc218 \ubcf8\ubb38\uc5d0 N1QL \ubb38\uc744 \uc0bd\uc785\ud558\ub294 \ub300\uc2e0 \ud2b8\ub79c\uc2a4\ud30c\uc77c\ub7ec(JavaScript \ucef4\ud30c\uc77c\ub7ec\uc758 \uad6c\uc131 \uc694\uc18c)\uac00 \uc774\ub97c \uac10\uc9c0\ud558\uc5ec \ubc31\uadf8\ub77c\uc6b4\ub4dc\uc5d0\uc11c \uc62c\ubc14\ub978 N1QL \ud638\ucd9c\uc744 \ube4c\ub4dc\ud558\ub3c4\ub85d \ud558\ub294 \uac83\uc785\ub2c8\ub2e4:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774\ub807\uac8c \ud558\uba74 \uc815\uc801 \ubb38\uc744 \uc989\uc2dc \uc2e4\ud589\ud558\ub294 \ub370 \ub9e4\uc6b0 \ud3b8\ub9ac\ud558\uba70 \ud568\uc218\uac00 \uac11\uc790\uae30 \ud6e8\uc52c \ub354 \uac00\ub3c5\uc131\uc774 \ub192\uc544\uc9d1\ub2c8\ub2e4.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-13600\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2022\/07\/snippet3-1024x102.jpg\" alt=\"\" width=\"900\" height=\"90\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3-1024x102.jpg 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3-300x30.jpg 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3-768x76.jpg 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3-1536x153.jpg 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3-20x2.jpg 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3-1320x131.jpg 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/07\/snippet3.jpg 2010w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">N1QL \ubb38 \uc790\ub9ac \ud45c\uc2dc\uc790 \ubc0f \uc790\ub9ac \ud45c\uc2dc\uc790 \uac12<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\ub3d9\uc801 N1QL \uc0dd\uc131\uacfc \uad00\ub828\ub41c \uc704\ud5d8\uc744 \ud53c\ud558\ub294 \uac00\uc7a5 \uc88b\uc740 \ubc29\ubc95\uc740 \uba85\uba85\ub41c \uc790\ub9ac \ud45c\uc2dc\uc790 \ub610\ub294 \uc704\uce58 \ud45c\uc2dc\uc790\ub97c \uc0ac\uc6a9\ud558\uace0 \uc2e4\ud589 \uc2dc \uc790\ub9ac \ud45c\uc2dc\uc790 \uac12\uc744 \uc804\ub2ec\ud558\ub294 \uc815\uc801 \ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">N1QL() \ud568\uc218<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\uc0ac\uc6a9 \uc2dc <em>N1QL()<\/em> \ud568\uc218\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc774 \ub450 \ubc88\uc9f8 \uc120\ud0dd\uc801 \uc778\uc218\uc5d0 \uac12\uc744 \uc804\ub2ec\ud558\uba74 \uc774 \uc791\uc5c5\uc744 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">\uc704\uce58 \ub9e4\uac1c\ubcc0\uc218<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">\uc774 \uacbd\uc6b0\ub294 \uac12 \ubc30\uc5f4\uc744 \uc804\ub2ec\ud558\uc5ec \ucc98\ub9ac\ud569\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">function doInsert() {\r\n\u00a0\u00a0\u00a0\u00a0var q = N1QL(\"insert into b1 values(\\\"k4\\\", {\\\"f1\\\": $1})\", [4]);\r\n}<\/pre>\n<h4><span style=\"font-weight: 400;\">\uba85\uba85\ub41c \ub9e4\uac1c\ubcc0\uc218<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">\uc774 \uacbd\uc6b0 \ud544\ub4dc \uc774\ub984\uc774 \ub9e4\uac1c\ubcc0\uc218 \uc774\ub984\uacfc \uc77c\uce58\ud558\ub294 \uac1d\uccb4\ub97c \uc804\ub2ec\ud558\uba74 \ub429\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">function doInsert() {\r\n\u00a0\u00a0\u00a0\u00a0var q = N1QL(\"insert into b1 values(\\\"k5\\\", {\\\"f1\\\": $p1})\", { p1: 5});\r\n}<\/pre>\n<p><span style=\"font-weight: 400;\">\uc704\uce58 \ub9e4\uac1c\ubcc0\uc218\uc640 \uba85\uba85\ub41c \ub9e4\uac1c\ubcc0\uc218\ub97c \ud63c\ud569\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. <em>N1QL()<\/em> \ud568\uc218\ub294 \ubc30\uc5f4 \ub610\ub294 \uac1d\uccb4 \uc911 \ud558\ub098\ub9cc \ud5c8\uc6a9\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc5d0 \uc804\ub2ec\ub41c \uac12\uc740 <em>N1QL()<\/em> \ub294 \ub9ac\ud130\ub7f4\uc77c \ud544\uc694\uac00 \uc5c6\uc73c\uba70, \ubcc0\uc218\ub85c \ubc30\uc5f4\uacfc \uac1d\uccb4\ub97c \uad6c\uc131\ud558\uac70\ub098 \ubc30\uc5f4 \ub610\ub294 \uac1d\uccb4 \ubcc0\uc218\ub97c \uc804\ub2ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">function doInsert() {\r\n\u00a0\u00a0\u00a0\u00a0let p1 = 6;\r\n\u00a0\u00a0\u00a0\u00a0var q = N1QL(\"insert into b1 values(\\\"k6\\\", {\\\"f1\\\": $1})\", [p1]);\r\n}<\/pre>\n<p><span style=\"font-weight: 400;\">\ub610\ub294<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">function doInsert() {\r\n\u00a0\u00a0\u00a0\u00a0let p1 = [7];\r\n\u00a0\u00a0\u00a0\u00a0var q = N1QL(\"insert into b1 values(\\\"k7\\\", {\\\"f1\\\": $1})\", p1);\r\n}<\/pre>\n<h3><span style=\"font-weight: 400;\">\ud2b8\ub79c\uc2a4\ud30c\uc77c\ub7ec<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\ud2b8\ub79c\uc2a4\ud30c\uc77c\ub7ec\ub97c \uc0ac\uc6a9\ud558\uba74 \uba85\uba85\ub41c \ub9e4\uac1c\ubcc0\uc218\ub9cc \uc0ac\uc6a9\ud560 \uc218 \uc788\uc9c0\ub9cc, \uc774\ubbf8 \uc120\uc5b8\ub41c \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\ub9cc\ud07c\uc774\ub098 \uac04\ub2e8\ud569\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">function doInsert() {\r\n\u00a0\u00a0\u00a0\u00a0let p1 = 8;\r\n\u00a0\u00a0\u00a0\u00a0var q = insert into b1 values(\"k8\", {\"f1\": $p1});\r\n}<\/pre>\n<p><span style=\"font-weight: 400;\">\ubb3c\ub860 \ud568\uc218 \ub9e4\uac1c\ubcc0\uc218\ub97c \uc9c1\uc811 \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">function doInsert(p1) {\r\n\u00a0\u00a0\u00a0\u00a0var q = insert into b1 values(\"k9\", {\"k1\": $p1});\r\n}<\/pre>\n<p><span style=\"font-weight: 400;\">\uadf8\ub9ac\uace0 \ud574\ub2f9 N1QL UDF:<\/span><\/p>\n<pre class=\"decode-attributes:false lang:default decode:true\">CREATE FUNCTION doInsert(p1) LANGUAGE JAVASCRIPT AS \"doInsert\" AT \"udfblog\"<\/pre>\n<h2><span style=\"font-weight: 400;\">\uacb0\ub860<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ud568\uc218 \ub0b4\uc5d0\uc11c N1QL\uc744 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud55c \uae30\ubcf8 \uc608\uc81c\ub97c \ub2e4\ub8e8\uc5c8\uc2b5\ub2c8\ub2e4. <em>N1QL()<\/em> \ud568\uc218 \ud638\ucd9c\uacfc N1QL \ubb38\uc744 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0 \uc9c1\uc811 \uc0bd\uc785\ud558\ub294 \ubc29\ubc95, \uc774\ub984 \ubc0f \uc704\uce58 \ub9e4\uac1c\ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c\uc5d0\uc11c\ub294 \ubc18\ubcf5\ubb38\uacfc \ub370\uc774\ud130 \uc870\uc791\ubb38\uc5d0 \ub300\ud574 \ub2e4\ub8f0 \uc608\uc815\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>The previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. We start with a basic mechanism to execute N1QL statements inside JavaScript code. N1QL in JavaScript There are [&hellip;]<\/p>","protected":false},"author":1782,"featured_media":12241,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,9327,1812],"tags":[2133,1543,8911],"ppma_author":[8924],"class_list":["post-13596","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-javascript","category-n1ql-query","tag-functions","tag-javascript","tag-udf"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>N1QL in JavaScript &amp; N1QL() Function (Part 2: Basic Usage)<\/title>\n<meta name=\"description\" content=\"In the previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. Learn more.\" \/>\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\/from-n1ql-to-javascript-and-back-part-2\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"From N1QL to JavaScript and Back - Part 2: Basic Usage\" \/>\n<meta property=\"og:description\" content=\"In the previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. Learn more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/ko\/from-n1ql-to-javascript-and-back-part-2\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-26T15:37:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T00:20:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Marco Greco, Software Architect, 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=\"Marco Greco, Software Architect, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/\"},\"author\":{\"name\":\"Marco Greco, Software Architect, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/2b5184a7cdb443ff2897aff0866cd6fd\"},\"headline\":\"From N1QL to JavaScript and Back &#8211; Part 2: Basic Usage\",\"datePublished\":\"2022-07-26T15:37:35+00:00\",\"dateModified\":\"2025-06-14T00:20:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/\"},\"wordCount\":714,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg\",\"keywords\":[\"functions\",\"javascript\",\"User Defined Function (UDF)\"],\"articleSection\":[\"Couchbase Server\",\"JavaScript\",\"SQL++ \/ N1QL Query\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/\",\"name\":\"N1QL in JavaScript & N1QL() Function (Part 2: Basic Usage)\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg\",\"datePublished\":\"2022-07-26T15:37:35+00:00\",\"dateModified\":\"2025-06-14T00:20:45+00:00\",\"description\":\"In the previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. Learn more.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg\",\"width\":1200,\"height\":628,\"caption\":\"Learn how to import and denormalize your data from a relational database into Couchbase using N1QL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"From N1QL to JavaScript and Back &#8211; Part 2: Basic Usage\"}]},{\"@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\/2b5184a7cdb443ff2897aff0866cd6fd\",\"name\":\"Marco Greco, Software Architect, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/707c967b795fd71b6330f6d3118cf308\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e6be0ee56851d2f71a554731d5edd5c820069680f0a810b47f094091c58bc553?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e6be0ee56851d2f71a554731d5edd5c820069680f0a810b47f094091c58bc553?s=96&d=mm&r=g\",\"caption\":\"Marco Greco, Software Architect, Couchbase\"},\"description\":\"In a previous life, Marco used to be CTO, radiation physicist, software architect, sysadmin, DBA, trainer and general handyman at Italy's largest radiation theraphy practice. Having switched career and country, he spent more than two decades in various support and development positions in Informix first and IBM later, before finally taking the plunge and joining Couchbase, to help them make gold out of N1QL. He holds several patents and has authored open source projects of his own.\",\"sameAs\":[\"https:\/\/github.com\/marcogrecopriolo\",\"https:\/\/www.linkedin.com\/in\/marco-greco-7665308\/\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/ko\/author\/marcocouchbase-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"N1QL in JavaScript & N1QL() Function (Part 2: Basic Usage)","description":"\uc774\uc804 \ube14\ub85c\uadf8\uc5d0\uc11c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218\uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uc744 \uc18c\uac1c\ud588\uc2b5\ub2c8\ub2e4. \uc774\uc81c \ub354 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694.","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\/from-n1ql-to-javascript-and-back-part-2\/","og_locale":"ko_KR","og_type":"article","og_title":"From N1QL to JavaScript and Back - Part 2: Basic Usage","og_description":"In the previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. Learn more.","og_url":"https:\/\/www.couchbase.com\/blog\/ko\/from-n1ql-to-javascript-and-back-part-2\/","og_site_name":"The Couchbase Blog","article_published_time":"2022-07-26T15:37:35+00:00","article_modified_time":"2025-06-14T00:20:45+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg","type":"image\/jpeg"}],"author":"Marco Greco, Software Architect, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Marco Greco, Software Architect, Couchbase","Est. reading time":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/"},"author":{"name":"Marco Greco, Software Architect, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/2b5184a7cdb443ff2897aff0866cd6fd"},"headline":"From N1QL to JavaScript and Back &#8211; Part 2: Basic Usage","datePublished":"2022-07-26T15:37:35+00:00","dateModified":"2025-06-14T00:20:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/"},"wordCount":714,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg","keywords":["functions","javascript","User Defined Function (UDF)"],"articleSection":["Couchbase Server","JavaScript","SQL++ \/ N1QL Query"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/","url":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/","name":"N1QL in JavaScript & N1QL() Function (Part 2: Basic Usage)","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg","datePublished":"2022-07-26T15:37:35+00:00","dateModified":"2025-06-14T00:20:45+00:00","description":"\uc774\uc804 \ube14\ub85c\uadf8\uc5d0\uc11c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218\uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uc744 \uc18c\uac1c\ud588\uc2b5\ub2c8\ub2e4. \uc774\uc81c \ub354 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2021\/10\/denormalization-guide-data-import-rdbms-tables-couchbase-n1ql-queries.jpg","width":1200,"height":628,"caption":"Learn how to import and denormalize your data from a relational database into Couchbase using N1QL"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/from-n1ql-to-javascript-and-back-part-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"From N1QL to JavaScript and Back &#8211; Part 2: Basic Usage"}]},{"@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\/2b5184a7cdb443ff2897aff0866cd6fd","name":"\ub9c8\ub974\ucf54 \uadf8\ub808\ucf54, \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc544\ud0a4\ud14d\ud2b8, \uce74\uc6b0\uce58\ubca0\uc774\uc2a4","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/707c967b795fd71b6330f6d3118cf308","url":"https:\/\/secure.gravatar.com\/avatar\/e6be0ee56851d2f71a554731d5edd5c820069680f0a810b47f094091c58bc553?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e6be0ee56851d2f71a554731d5edd5c820069680f0a810b47f094091c58bc553?s=96&d=mm&r=g","caption":"Marco Greco, Software Architect, Couchbase"},"description":"In a previous life, Marco used to be CTO, radiation physicist, software architect, sysadmin, DBA, trainer and general handyman at Italy's largest radiation theraphy practice. Having switched career and country, he spent more than two decades in various support and development positions in Informix first and IBM later, before finally taking the plunge and joining Couchbase, to help them make gold out of N1QL. He holds several patents and has authored open source projects of his own.","sameAs":["https:\/\/github.com\/marcogrecopriolo","https:\/\/www.linkedin.com\/in\/marco-greco-7665308\/"],"url":"https:\/\/www.couchbase.com\/blog\/ko\/author\/marcocouchbase-com\/"}]}},"authors":[{"term_id":8924,"user_id":1782,"is_guest":0,"slug":"marcocouchbase-com","display_name":"Marco Greco, Software Architect, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/e6be0ee56851d2f71a554731d5edd5c820069680f0a810b47f094091c58bc553?s=96&d=mm&r=g","author_category":"","last_name":"Greco","first_name":"Marco","job_title":"","user_url":"","description":"\uc804\uc0dd\uc5d0 \ub9c8\ub974\ucf54\ub294 \uc774\ud0c8\ub9ac\uc544 \ucd5c\ub300 \ubc29\uc0ac\uc120 \uce58\ub8cc \uae30\uad00\uc5d0\uc11c CTO, \ubc29\uc0ac\uc120 \ubb3c\ub9ac\ud559\uc790, \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc124\uacc4\uc790, \uc2dc\uc2a4\ud15c \uad00\ub9ac\uc790, DBA, \ud2b8\ub808\uc774\ub108, \uc77c\ubc18 \uad00\ub9ac\uc790\ub85c \uc77c\ud588\uc2b5\ub2c8\ub2e4.\r\n\r\n\uc9c1\uc5c5\uacfc \uad6d\uac00\ub97c \ubc14\uafbc \uadf8\ub294 \ucc98\uc74c\uc5d0\ub294 Informix\uc5d0\uc11c, \ub098\uc911\uc5d0\ub294 IBM\uc5d0\uc11c 20\ub144 \uc774\uc0c1 \ub2e4\uc591\ud55c \uc9c0\uc6d0 \ubc0f \uac1c\ubc1c \uc9c1\ucc45\uc744 \ub9e1\ub2e4\uac00 \ub9c8\uce68\ub0b4 \uacfc\uac10\ud788 Couchbase\uc5d0 \ud569\ub958\ud558\uc5ec N1QL\uc5d0\uc11c \uae08\uc744 \ub9cc\ub4dc\ub294 \ub370 \ub3c4\uc6c0\uc744 \uc8fc\uc5c8\uc2b5\ub2c8\ub2e4.\r\n\r\n\uadf8\ub294 \uc5ec\ub7ec \uac1c\uc758 \ud2b9\ud5c8\ub97c \ubcf4\uc720\ud558\uace0 \uc788\uc73c\uba70 \uc9c1\uc811 \uc624\ud508 \uc18c\uc2a4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc800\uc220\ud558\uae30\ub3c4 \ud588\uc2b5\ub2c8\ub2e4."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/13596","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\/1782"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/comments?post=13596"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/13596\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media\/12241"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media?parent=13596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/categories?post=13596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/tags?post=13596"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/ppma_author?post=13596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}