{"id":7120,"date":"2019-06-22T10:42:41","date_gmt":"2019-06-22T17:42:41","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=7120"},"modified":"2025-06-13T17:22:02","modified_gmt":"2025-06-14T00:22:02","slug":"a-preview-of-couchbase-6-5-n1ql-features","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/","title":{"rendered":"A Preview of Couchbase 6.5 N1QL Features"},"content":{"rendered":"<p>Couchbase 6.5 release is one of the largest release content wise for Couchbase. For N1QL Query service, the focus for us is to bring Enterprise Database functionalities to the Couchbase Database. Expanding N1QL with additional functions to support Enterprise Application requirements with the goal to improve developers productivity.<\/p>\n<p>So here is the summary of the N1QL features.<\/p>\n<h4>N1QL Search()<\/h4>\n<p>N1QL has added a full text search capability with the N1QL Search() function. It leverages Couchbase Full Text Search to deliver a variety of of text search capability, such as keyword and fuzzy search. Full Text Search is part of the Couchbase Data Platform that runs as a separate service with its Multi Dimensional Scaling capability. There is no need for a separate search engine, nor importing the data into a separate service. N1QL users can now leverage both Full Text Search and standard N1QL predicates in a single statement.<\/p>\n<pre class=\"lang:default decode:true\">Match Query: SELECT * \r\n             FROM `beer-sample`  b\r\n             WHERE SEARCH(b,{\"match\":\"hoppiest\",\"field\":\"description\"})\r\n                   AND b.abv &gt; 3\r\n             ORDER BY b.abv DESC\r\n             LIMIT 10 OFFSET 20\r\n\r\nFuzzy Match: SELECT RAW META(t1).id \r\n             FROM `travel-sample` AS t1 \r\n             WHERE SEARCH(t1, { \"match\": \"interest\", \r\n                 \"field\": \"reviews.content\", \"fuzziness\":2}) ;\r\n\r\nRegexp:      SELECT RAW META(t1).id \r\n             FROM `travel-sample` AS t1 \r\n             WHERE SEARCH(t1, {\"regexp\": \"inter.+\",\r\n                 \"field\": \"reviews.content\"}); \r\n\r\nDate Range:  SELECT RAW META(t1).id \r\n             FROM `travel-sample` AS t1 \r\n             WHERE SEARCH(t1, { \"start\": \"2001-10-09T10:20:30-08:00\", \r\n                                \"end\": \"2016-10-31\", \r\n                                \"inclusive_start\": false, \r\n                                \"inclusive_end\": false, \r\n                                \"field\": \"reviews.date\" }); \r\nGeospatial:  SELECT RAW META(t1).id \r\n             FROM `travel-sample` AS t1 \r\n             WHERE SEARCH(t1, { \"location\": { \"lon\": -2.235143, \r\n                                              \"lat\": 53.482358 }, \r\n                                \"distance\": \"100mi\", \r\n                                \"field\": \"geo\" }); \r\n<\/pre>\n<h4>N1QL Window &amp; Analytical Function<\/h4>\n<p>Window functions extends the basic query aggregation to allow complex business questions with an intuitive N1QL construct, which would otherwise require user to write complex queries and joins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7125\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png\" alt=\"\" width=\"697\" height=\"411\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png 697w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM-300x177.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM-20x12.png 20w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<h4>N1QL Common Table Expression<\/h4>\n<p>Common Table Expression introduces the WITH construct to N1QL to allow user to assign a name to query block, which can then be later referenced in the rest of the query.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7123\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-19-at-11.05.55-AM.png\" alt=\"\" width=\"780\" height=\"453\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-11.05.55-AM.png 1294w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-11.05.55-AM-300x174.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-11.05.55-AM-1024x595.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-11.05.55-AM-768x446.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-11.05.55-AM-20x12.png 20w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><\/p>\n<h4>N1QL User Defined Function<\/h4>\n<p>Allows developers to define custom N1QL function which is callable from N1QL queries. Allowing the isolation of N1QL application logic that can be reused by any application and micro services.<\/p>\n<pre class=\"lang:default decode:true\">CREATE FUNCTION func1(type) { \r\n  (select * from `travel-sample` where `travel-sample`.type = type) \r\n}\r\n\r\nEXECUTE FUNCTION func1(\"airline\")\r\n<\/pre>\n<h4>Subquery JOIN<\/h4>\n<p>Couchbase database enhances its support for ANSI Join to include joining with sub-queries, allowing the use of dynamic query result sets in the join.<\/p>\n<pre class=\"lang:default decode:true\">SELECT  cus.name Customer, \r\n        cus.industry Industry, \r\n        usr.name Owner, \r\n        count(1) NumOfMeetings, \t\t\r\n\tsum(to_number(act.duration)) `Time Spent`\r\nFROM crm act \r\n  INNER JOIN crm cus ON act.accid = cus.id AND cus.type = 'account'\r\n  INNER JOIN crm usr ON cus.owner = usr.id AND usr.type = 'user'\r\n  <strong>JOIN<\/strong> ( select thl.id from crm thl WHERE thl.type ='_territory_hier_level' \r\n\t\tAND thl.parent='ter3') ter  <strong>ON<\/strong> cus.terid = ter.id \r\nWHERE act.type='activity'  \r\n  AND act.activityType='Appointment'\r\n  AND DATE_PART_STR(act.startDate, 'year') =2018 \r\nGROUP BY cus.name, cus.industry,  usr.name<\/pre>\n<p>The following features are also going to be available in version 6.5 as Developer Preview.<\/p>\n<h4>Index Advisor (DP)<\/h4>\n<p>User can now use the Index Advisor the create the most optimum indexes for their queries. The recommended indexes also include a section for covering indexes. Queries that leverages covering indexes can benefit from the need to perform additional data service fetching, and thus improve the overall query performance. Index Advisor works for specific query, or completed requests workload.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7131\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-04-24-at-1.26.42-PM-Mod.png\" alt=\"\" width=\"1079\" height=\"589\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-04-24-at-1.26.42-PM-Mod.png 1279w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-04-24-at-1.26.42-PM-Mod-300x164.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-04-24-at-1.26.42-PM-Mod-1024x559.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-04-24-at-1.26.42-PM-Mod-768x419.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-04-24-at-1.26.42-PM-Mod-20x11.png 20w\" sizes=\"auto, (max-width: 1079px) 100vw, 1079px\" \/><\/p>\n<h4>Other N1QL Enhancements in Couchbase v6.5<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7126\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM.png\" alt=\"\" width=\"916\" height=\"599\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM.png 1572w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM-300x196.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM-1024x670.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM-768x502.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM-1536x1004.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM-20x13.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.21.31-PM-1320x863.png 1320w\" sizes=\"auto, (max-width: 916px) 100vw, 916px\" \/><\/p>\n<h4>Summary<\/h4>\n<p>We are very excited about the new N1QL content for Couchbase v6.5, as these features will address many requests that our customers have asked for. As usual we&#8217;re all ears when it comes to feedback on our new features, and especially the Index Advisor(DP) .<\/p>\n<p>&nbsp;<\/p>\n<h4><b>Resources<\/b><\/h4>\n<ul>\n<li><i>Download<\/i>:\u00a0<a href=\"https:\/\/couchbase.com\/downloads?family=server&amp;product=couchbase-server-developer\">Download Couchbase Server 6.5<\/a><i><\/i><\/li>\n<li><i>Documentation<\/i>:\u00a0<a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/introduction\/whats-new.html\">Couchbase Server 6.5 What\u2019s New<\/a><i><\/i><\/li>\n<li><a href=\"https:\/\/www.couchbase.com\/blog\/tag\/6-5\/\"><b>All 6.5 Blogs<\/b><\/a><\/li>\n<\/ul>\n<p>We would love to hear from you on how you liked the 6.5 features and how it\u2019ll benefit your business going forward. Please share your feedback via the comments or in the\u00a0<a href=\"https:\/\/www.couchbase.com\/forums\/\">forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Couchbase 6.5 release is one of the largest release content wise for Couchbase. For N1QL Query service, the focus for us is to bring Enterprise Database functionalities to the Couchbase Database. Expanding N1QL with additional functions to support Enterprise Application [&hellip;]<\/p>\n","protected":false},"author":26326,"featured_media":7125,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,1812],"tags":[2378],"ppma_author":[8919],"class_list":["post-7120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-n1ql-query","tag-6-5"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.0 (Yoast SEO v26.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A Preview of Couchbase 6.5 N1QL Features - The Couchbase Blog<\/title>\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\/a-preview-of-couchbase-6-5-n1ql-features\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Preview of Couchbase 6.5 N1QL Features\" \/>\n<meta property=\"og:description\" content=\"Couchbase 6.5 release is one of the largest release content wise for Couchbase. For N1QL Query service, the focus for us is to bring Enterprise Database functionalities to the Couchbase Database. Expanding N1QL with additional functions to support Enterprise Application [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-22T17:42:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T00:22:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"697\" \/>\n\t<meta property=\"og:image:height\" content=\"411\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Binh Le\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Binh Le\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/\"},\"author\":{\"name\":\"Binh Le\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63\"},\"headline\":\"A Preview of Couchbase 6.5 N1QL Features\",\"datePublished\":\"2019-06-22T17:42:41+00:00\",\"dateModified\":\"2025-06-14T00:22:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/\"},\"wordCount\":477,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png\",\"keywords\":[\"6.5\"],\"articleSection\":[\"Couchbase Server\",\"SQL++ \/ N1QL Query\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/\",\"name\":\"A Preview of Couchbase 6.5 N1QL Features - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png\",\"datePublished\":\"2019-06-22T17:42:41+00:00\",\"dateModified\":\"2025-06-14T00:22:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png\",\"width\":697,\"height\":411},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Preview of Couchbase 6.5 N1QL Features\"}]},{\"@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\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@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\/f89064928e262c71eb43bee996c48c63\",\"name\":\"Binh Le\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5b68c37e30928a9d7b2c8470b1a303b7\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g\",\"caption\":\"Binh Le\"},\"description\":\"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Cloud Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/binh-le-2\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"A Preview of Couchbase 6.5 N1QL Features - The Couchbase Blog","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\/a-preview-of-couchbase-6-5-n1ql-features\/","og_locale":"en_US","og_type":"article","og_title":"A Preview of Couchbase 6.5 N1QL Features","og_description":"Couchbase 6.5 release is one of the largest release content wise for Couchbase. For N1QL Query service, the focus for us is to bring Enterprise Database functionalities to the Couchbase Database. Expanding N1QL with additional functions to support Enterprise Application [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/","og_site_name":"The Couchbase Blog","article_published_time":"2019-06-22T17:42:41+00:00","article_modified_time":"2025-06-14T00:22:02+00:00","og_image":[{"width":697,"height":411,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png","type":"image\/png"}],"author":"Binh Le","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Binh Le","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/"},"author":{"name":"Binh Le","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63"},"headline":"A Preview of Couchbase 6.5 N1QL Features","datePublished":"2019-06-22T17:42:41+00:00","dateModified":"2025-06-14T00:22:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/"},"wordCount":477,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png","keywords":["6.5"],"articleSection":["Couchbase Server","SQL++ \/ N1QL Query"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/","url":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/","name":"A Preview of Couchbase 6.5 N1QL Features - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png","datePublished":"2019-06-22T17:42:41+00:00","dateModified":"2025-06-14T00:22:02+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/06\/Screen-Shot-2019-06-19-at-1.16.56-PM.png","width":697,"height":411},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/a-preview-of-couchbase-6-5-n1ql-features\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Preview of Couchbase 6.5 N1QL Features"}]},{"@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":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@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\/f89064928e262c71eb43bee996c48c63","name":"Binh Le","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5b68c37e30928a9d7b2c8470b1a303b7","url":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","caption":"Binh Le"},"description":"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Cloud Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK.","url":"https:\/\/www.couchbase.com\/blog\/author\/binh-le-2\/"}]}},"authors":[{"term_id":8919,"user_id":26326,"is_guest":0,"slug":"binh-le-2","display_name":"Binh Le","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","author_category":"","last_name":"Le","first_name":"Binh","job_title":"","user_url":"","description":"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Clould Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/7120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/26326"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=7120"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/7120\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/7125"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=7120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=7120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=7120"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=7120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}