{"id":10375,"date":"2023-06-23T01:43:43","date_gmt":"2023-06-23T08:43:43","guid":{"rendered":"https:\/\/www.couchbase.com\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/"},"modified":"2023-06-23T01:43:43","modified_gmt":"2023-06-23T08:43:43","slug":"nodejs-ottoman-v1-quickstart","status":"publish","type":"tutorials","link":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/","title":{"rendered":"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Before we get started with Ottoman and the Couchbase Node.js SDK, we need to ensure Couchbase Server is running. We&#8217;ll create a bucket and two indexes for querying. We will create a data bucket and two indexes for basic queries. Using Couchbase&#8217;s N1QL query syntax, we will create two indexes, a primary and adaptive index. After we upsert our records, these indexes will allow us to look up our documents with the Query API in Ottoman.<\/p>\n\n\n\n<h3 id=\"h-prerequisites-three-steps-required-to-query-our-bucket\" class=\"wp-block-heading\">Prerequisites: Three Steps required to Query our Bucket<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Setup Couchbase Server 6.5 and ensure it is running.<\/li>\n\n\n<li>Create an empty bucket named &#8220;default&#8221;.<\/li>\n\n\n<li>Add a primary and adaptive index for our default bucket.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If you still need to perform these tasks please use one of the following:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/tutorial-docker-image-manual-cb65\">10-minute Couchbase Docker Container Configuration<\/a><\/p>\n\n\n\n<h3 id=\"h-step-1-create-the-ottoman-node-js-project\" class=\"wp-block-heading\">Step 1: Create The Ottoman Node JS Project<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this exercise, we will be working with the <a href=\"https:\/\/ottomanjs.com\/\">Ottoman 2.6 ODM (Object Document Mapper)<\/a> in conjunction with the <a href=\"https:\/\/docs.couchbase.com\/nodejs-sdk\/2.6\/start-using-sdk.html\">Node.js SDK v2.6.12<\/a> or any minor version that is higher will do. I&#8217;m using Node JS version 12.14 and NPM version 6.13, you can find these version numbers for Node and NPM by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>node --version\nnpm --version\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE: you can get to the Couchbase Server Web UI at any time by visiting <code>localhost:8091<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s first create a project directory named <code>first-query-ottoman<\/code>, change directories into that directory and initialize NPM:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>mkdir first-query-ottoman &amp;&amp; cd $_ &amp;&amp; npm init\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE: The double ampersands (<code>&amp;&amp;<\/code>)are just a way of chaining multiple shell commands. The <code>$_<\/code> command simply captures our last used argument which in our case was the directory that we created.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now with a node package manager and manifest (<code>package.json<\/code>) in place, let&#8217;s add Couchbase and ottoman to our dependencies for the project:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>npm install couchbase@2.6.12 ottoman@1.0.6\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now we will create a file named <code>server.js<\/code> and launch Visual Studio Code:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>touch server.js &amp;&amp; code .\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command has set up a project directory and enabled npm, installed <code>couchbase<\/code> and <code>ottoman<\/code> as well as created a <code>server.js<\/code> file and finally opened up our VS Code editor to the project root.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <code>server.js<\/code> file, this is where we&#8217;ll add our code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Taking each code sample below, we will add each new block of code done after one another.<\/p>\n\n\n\n<h3 id=\"h-connecting-to-a-couchbase-bucket\" class=\"wp-block-heading\">Connecting to a Couchbase Bucket<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create a connection to our Couchbase Server running in Docker. Your password may be different, just swap out yours if it is different.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>include::quickstarts\/nodejs-ottoman-v1\/example\/server.js[tag=clusterSetup]\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-creating-an-ottoman-model\" class=\"wp-block-heading\">Creating an Ottoman Model<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create a model for our <code>User<\/code> document. It will get auto-created and stored in our already created <code>default<\/code> bucket in Couchbase. Once our model is set up, we can add a few initial documents to populate our bucket.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>include::quickstarts\/nodejs-ottoman-v1\/example\/server.js[tag=userModel]\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ottoman does support other data types like <code>boolean<\/code> and <code>integer<\/code> Date. A model can also define indexes similar to the ones we set up manually. For now, we are going to skip letting Ottoman set up our indexes as we already have them in place.<\/p>\n\n\n\n<h3 id=\"h-create-new-user-documents\" class=\"wp-block-heading\">Create New User Documents<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here we are defining a few documents that we want to persist to our bucket, notice we are using the same document that we defined in our model.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>include::quickstarts\/nodejs-ottoman-v1\/example\/server.js[tag=newUpUsers]\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-persist-documents-to-our-bucket\" class=\"wp-block-heading\">Persist Documents to Our Bucket<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Call Ottoman&#8217;s <code>save()<\/code> method on each of these objects which will add them to our database so long as no errors occur.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>include::quickstarts\/nodejs-ottoman-v1\/example\/server.js[tag=persistUsers]\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we have added the code to save (persist) each record to the database, let&#8217;s run our app for the first time with Node:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>node server\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should get three success messages in the console.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>success: user Perry added!\nsuccess: user Major added!\nsuccess: user Jerry added!\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If we open our Web UI at <code>localhost:8091<\/code> and navigate to the &#8220;Buckets&#8221; tab, we can see that two records were added to the <code>default<\/code> bucket.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE: You can edit the document in place by clicking the pencil icon or remove them individually with the trash icon. You can also edit the buckets and in the section &#8220;Advanced bucket settings&#8221; enable Flush. When flushed, all items in the bucket are removed. This is a quick way to remove all documents.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s remove these three documents, write some more code that will add the documents, and then turn around and query them.<\/p>\n\n\n\n<h3 id=\"h-write-a-query-with-ottoman-s-query-api\" class=\"wp-block-heading\">Write a Query with Ottoman&#8217;s Query API<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Ottoman, we can retrieve records from our bucket using the adaptive index we have in place by calling the <code>find()<\/code> method.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>User.find({ lastName: &#039;Tom&#039; }, { consistency: ottoman.Consistency.LOCAL },\n  (err, items) =&gt; {\n    if (err) throw err;\n    console.log(&#039;Query results: &#039;, items)\n  }\n);\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first two arguments to the <code>find()<\/code> method are <code>filter<\/code> and <code>options<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of passing objects along as parameters, let&#8217;s write our code to define the filter and options as objects first.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>include::quickstarts\/nodejs-ottoman-v1\/example\/server.js[tag=filters]\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then pass them into the function as arguments.<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>include::quickstarts\/nodejs-ottoman-v1\/example\/server.js[tag=findUsers]\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE: If we had a lot more data and we were expecting hundreds of records to be returned, we could page the results with our options to get the second page (pagination), like this:<\/p>\n\n\n\n<pre class=\"wp-block-code language-javascript\"><code>var options = {\n  limit: 10,\n  skip: 10\n  consistency: ottoman.Consistency.LOCAL\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s run Node again and now we should get the same three success messages and an object returned to us that we queried for:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>node server\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see results similar to the following in your command line:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>success: user Perry added!\nsuccess: user Major added!\nsuccess: user Jerry added!\nQuery results:  [\n  User {\n    _id: &#039;7dac3b61-a83f-4374-a545-c1fda64f17de&#039;,\n    firstName: &#039;Major&#039;,\n    lastName: &#039;Tom&#039;,\n    email: &#039;major.tom@acme.com&#039;,\n    tagline: &#039;Send me up a drink&#039;\n  }\n]\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE: In our case indexes were added manually, if not Ottoman would have given us this error message:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>&quot;errors&quot;: [\n  {\n    &quot;code&quot;: 4000,\n    &quot;msg&quot;: &quot;No index available on keyspace default that matches your query. Use CREATE INDEX or CREATE PRIMARY INDEX to create an index, or check that your expected index is online.&quot;\n  }\n]\n<\/code><\/pre>\n\n\n\n<h3 id=\"h-summary\" class=\"wp-block-heading\">Summary<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We have created models in Ottoman, defined some documents, and persisted them to the database. We then subsequently looked them up using the built-in <code>find()<\/code> method which used the Ottoman Query API for Couchbase. We have not yet touched on indexes other than the fact that we created two of them during the docker and indexes section of the quickstart.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you would like to continue learning about Ottoman, I suggest checking out the <a href=\"http:\/\/ottomanjs.com\/\">Ottoman Documentation<\/a>.<\/p>\n\n\n\n<h3 id=\"h-exercise-complete\" class=\"wp-block-heading\">Exercise Complete<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! You have engaged with the world&#8217;s most powerful JSON document database by using Ottoman. Know that our query language N1QL was run under the hood too but we did not have to write any N1QL, you can learn more about it with our <a href=\"https:\/\/query-tutorial.couchbase.com\/tutorial\">N1QL Tutorial<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before we get started with Ottoman and the Couchbase Node.js SDK, we need to ensure Couchbase Server is running. We&#8217;ll create a bucket and two indexes for querying. We will create a data bucket and two indexes for basic queries. Using Couchbase&#8217;s N1QL query syntax, we will create two indexes, a primary and adaptive index. [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"tutorial-languages":[653],"tutorial-tags":[662],"tutorial-technologies":[559],"tutorial-types":[550],"class_list":["post-10375","tutorials","type-tutorials","status-publish","hentry","tutorial-languages-nodejs","tutorial-tags-ottoman","tutorial-technologies-connectors","tutorial-types-quickstart"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6 - Couchbase<\/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\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6\" \/>\n<meta property=\"og:description\" content=\"Before we get started with Ottoman and the Couchbase Node.js SDK, we need to ensure Couchbase Server is running. We&#8217;ll create a bucket and two indexes for querying. We will create a data bucket and two indexes for basic queries. Using Couchbase&#8217;s N1QL query syntax, we will create two indexes, a primary and adaptive index. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/\" \/>\n<meta property=\"og:site_name\" content=\"Couchbase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Couchbase\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2548\" \/>\n\t<meta property=\"og:image:height\" content=\"1171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@couchbase\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/nodejs-ottoman-v1-quickstart\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/nodejs-ottoman-v1-quickstart\\\/\",\"name\":\"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6 - Couchbase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\"},\"datePublished\":\"2023-06-23T08:43:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/nodejs-ottoman-v1-quickstart\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/nodejs-ottoman-v1-quickstart\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/nodejs-ottoman-v1-quickstart\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"name\":\"Couchbase\",\"description\":\"The Operational Data Platform for AI\u2122\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\"},\"alternateName\":\"Couchbase, Inc.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\",\"name\":\"Couchbase\",\"alternateName\":\"Couchbase, Inc.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"width\":1129,\"height\":1129,\"caption\":\"Couchbase\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Couchbase\\\/\",\"https:\\\/\\\/x.com\\\/couchbase\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/CouchbaseServer\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/couchbase\\\/\",\"https:\\\/\\\/github.com\\\/couchbase\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Couchbase,_Inc.\"],\"description\":\"Couchbase is a database software company headquartered in San Jose, California, providing an operational data platform for AI used by hundreds of global enterprises.\",\"legalName\":\"Couchbase, Inc.\",\"foundingDate\":\"2011-01-01\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6 - Couchbase","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\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/","og_locale":"it_IT","og_type":"article","og_title":"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6","og_description":"Before we get started with Ottoman and the Couchbase Node.js SDK, we need to ensure Couchbase Server is running. We&#8217;ll create a bucket and two indexes for querying. We will create a data bucket and two indexes for basic queries. Using Couchbase&#8217;s N1QL query syntax, we will create two indexes, a primary and adaptive index. [&hellip;]","og_url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/","og_site_name":"Couchbase","article_publisher":"https:\/\/www.facebook.com\/Couchbase\/","og_image":[{"width":2548,"height":1171,"url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@couchbase","twitter_misc":{"Est. reading time":"6 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/","url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/","name":"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6 - Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/it\/#website"},"datePublished":"2023-06-23T08:43:43+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/nodejs-ottoman-v1-quickstart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/"},{"@type":"ListItem","position":2,"name":"Getting Started with Ottoman v1 and Couchbase Node.js SDK 2.6"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/it\/#website","url":"https:\/\/www.couchbase.com\/it\/","name":"Couchbase","description":"The Operational Data Platform for AI\u2122","publisher":{"@id":"https:\/\/www.couchbase.com\/it\/#organization"},"alternateName":"Couchbase, Inc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/it\/#organization","name":"Couchbase","alternateName":"Couchbase, Inc.","url":"https:\/\/www.couchbase.com\/it\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","contentUrl":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","width":1129,"height":1129,"caption":"Couchbase"},"image":{"@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Couchbase\/","https:\/\/x.com\/couchbase","https:\/\/www.youtube.com\/c\/CouchbaseServer","https:\/\/www.linkedin.com\/company\/couchbase\/","https:\/\/github.com\/couchbase\/","https:\/\/en.wikipedia.org\/wiki\/Couchbase,_Inc."],"description":"Couchbase \u00e8 una societ\u00e0 di software per database con sede a San Jose, in California, che fornisce una piattaforma operativa per i dati utilizzata da centinaia di aziende globali.","legalName":"Couchbase, Inc.","foundingDate":"2011-01-01"}]}},"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials"}],"about":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/types\/tutorials"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10375\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/media?parent=10375"}],"wp:term":[{"taxonomy":"tutorial-languages","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-languages?post=10375"},{"taxonomy":"tutorial-tags","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-tags?post=10375"},{"taxonomy":"tutorial-technologies","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-technologies?post=10375"},{"taxonomy":"tutorial-types","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-types?post=10375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}