{"id":2481,"date":"2017-01-03T15:00:00","date_gmt":"2017-01-03T15:00:00","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2481"},"modified":"2019-05-07T10:04:38","modified_gmt":"2019-05-07T17:04:38","slug":"using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/","title":{"rendered":"Uso da Golang para obter v\u00e1rios documentos do Couchbase por chave em uma \u00fanica opera\u00e7\u00e3o"},"content":{"rendered":"<p>O Couchbase e os v\u00e1rios SDKs de servidor oferecem muitas maneiras diferentes de consultar os dados. Voc\u00ea pode escrever consultas N1QL, consultas de visualiza\u00e7\u00e3o ou at\u00e9 mesmo pesquisar documentos por sua chave. Das tr\u00eas maneiras poss\u00edveis de obter dados, fazer pesquisas com base em chaves definidas sempre ser\u00e1 mais r\u00e1pido do que executar uma consulta que use um \u00edndice.<\/p>\n<p>O que acontece quando voc\u00ea tem v\u00e1rias chaves de documento e precisa obter todos os documentos correspondentes? A primeira coisa que vem \u00e0 mente pode ser percorrer essas chaves, realizando uma opera\u00e7\u00e3o de pesquisa em cada itera\u00e7\u00e3o do loop. Isso funciona, mas ao pre\u00e7o de uma nova solicita\u00e7\u00e3o de rede por pesquisa. Existe uma maneira melhor? Com certeza!<\/p>\n<p>O que voc\u00ea pode fazer \u00e9 uma opera\u00e7\u00e3o em massa no banco de dados. J\u00e1 vi essa pergunta surgir v\u00e1rias vezes e at\u00e9 mesmo <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/getting-multiple-documents-by-key-in-a-single-operation-with-nodejs\/\">escreveu um tutorial<\/a> sobre como realizar essa tarefa no Node.js. No entanto, e se voc\u00ea n\u00e3o for um desenvolvedor de JavaScript? Desta vez, veremos como executar uma solicita\u00e7\u00e3o em lote usando a linguagem de programa\u00e7\u00e3o Go.<\/p>\n<p>Veja o aplicativo Golang a seguir, por exemplo:<\/p>\n<pre><code>package main\r\n\r\nimport (\r\n    \"fmt\"\r\n    \"github.com\/couchbase\/gocb\"\r\n)\r\n\r\ntype Person struct {\r\n    Firstname string `json:\"firstname,omitempty\"`\r\n    Lastname  string `json:\"lastname,omitempty\"`\r\n    Website   string `json:\"website,omitempty\"`\r\n    Blog      string `json:\"blog,omitempty\"`\r\n}\r\n\r\nvar bucket *gocb.Bucket\r\n\r\nfunc main() {\r\n    cluster, _ := gocb.Connect(\"couchbase:\/\/localhost\")\r\n    bucket, _ = cluster.OpenBucket(\"example\", \"\")\r\n\r\n    var items []gocb.BulkOp\r\n\r\n    items = append(items, &amp;gocb.GetOp{Key: \"nraboy\", Value: &amp;Person{}})\r\n    items = append(items, &amp;gocb.GetOp{Key: \"agupta\", Value: &amp;Person{}})\r\n\r\n    error := bucket.Do(items)\r\n\r\n    if error != nil {\r\n        fmt.Println(\"ERROR: \", error)\r\n    }\r\n\r\n    for i := 0; i &lt; len(items); i++ {\r\n        person, _ := items[i].(*gocb.GetOp).Value.(*Person)\r\n        if *person == (Person{}) {\r\n            fmt.Printf(\"`%+v` does not exist in the databasen\", items[i].(*gocb.GetOp).Key)\r\n        } else {\r\n            fmt.Printf(\"Key: %+v, Value: %+vn\", items[i].(*gocb.GetOp).Key, person)\r\n        }\r\n    }\r\n}<\/code><\/pre>\n<p>No aplicativo acima, temos um <code>Pessoa<\/code> que representa cada um dos nossos documentos do Couchbase. Depois de estabelecer uma conex\u00e3o com o cluster do Couchbase e abrir um determinado bucket, criamos uma fatia de opera\u00e7\u00f5es em massa chamada <code>itens<\/code>.<\/p>\n<p>Cada chave que desejamos pesquisar em nossa solicita\u00e7\u00e3o ser\u00e1 inserida no seguinte <code>itens<\/code> e o valor resultante tamb\u00e9m ser\u00e1 armazenado nele.<\/p>\n<p>Usando o <code>Fazer<\/code> podemos executar a opera\u00e7\u00e3o em massa, observando se h\u00e1 erros. Nesse caso, os erros n\u00e3o s\u00e3o chaves ausentes, s\u00e3o erros de execu\u00e7\u00e3o. Depois de executar a solicita\u00e7\u00e3o, podemos fazer um loop em cada item da tabela <code>itens<\/code> slice. Se o valor de um item espec\u00edfico for igual ao de uma fatia inicializada, mas vazia <code>Pessoa<\/code> significa que a chave n\u00e3o foi encontrada no servidor. Caso contr\u00e1rio, imprimiremos apenas a chave e o documento encontrado.<\/p>\n<p>Se voc\u00ea estiver interessado no t\u00f3pico de desempenho, Kirk Kirkconnel escreveu uma postagem no blog que explica as diferen\u00e7as. Ele pode ser encontrado em <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/determine-data-access-in-couchbase\/\">aqui<\/a>. Voc\u00ea tamb\u00e9m pode ler sobre opera\u00e7\u00f5es em lote na se\u00e7\u00e3o Couchbase <a href=\"https:\/\/developer.couchbase.com\/documentation\/server\/current\/sdk\/batching-operations.html\">documenta\u00e7\u00e3o<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Couchbase and the various server SDKs offer many different ways to query for data. You could write N1QL queries, view queries, or you could even lookup documents by their key. Of the three possible ways to obtain data, doing lookups [&hellip;]<\/p>","protected":false},"author":63,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1815,1816,1820],"tags":[],"ppma_author":[9032],"class_list":["post-2481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-practices-and-tutorials","category-couchbase-server","category-golang"],"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>Using Golang to get Multiple Couchbase Documents by Key in a Single Operation - 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\/pt\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation\" \/>\n<meta property=\"og:description\" content=\"Couchbase and the various server SDKs offer many different ways to query for data. You could write N1QL queries, view queries, or you could even lookup documents by their key. Of the three possible ways to obtain data, doing lookups [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/thepolyglotdeveloper\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-03T15:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-07T17:04:38+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=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nraboy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nic Raboy, Developer Advocate, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\"},\"author\":{\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1\"},\"headline\":\"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation\",\"datePublished\":\"2017-01-03T15:00:00+00:00\",\"dateModified\":\"2019-05-07T17:04:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\"},\"wordCount\":377,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Best Practices and Tutorials\",\"Couchbase Server\",\"GoLang\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\",\"name\":\"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2017-01-03T15:00:00+00:00\",\"dateModified\":\"2019-05-07T17:04:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#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\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation\"}]},{\"@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\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@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\/bb545ebe83bb2d12f91095811d0a72e1\",\"name\":\"Nic Raboy, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8863514d8bed0cf6080f23db40e00354\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g\",\"caption\":\"Nic Raboy, Developer Advocate, Couchbase\"},\"description\":\"Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.\",\"sameAs\":[\"https:\/\/www.thepolyglotdeveloper.com\",\"https:\/\/www.facebook.com\/thepolyglotdeveloper\",\"https:\/\/x.com\/nraboy\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/nic-raboy-2\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation - 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\/pt\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/","og_locale":"pt_BR","og_type":"article","og_title":"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation","og_description":"Couchbase and the various server SDKs offer many different ways to query for data. You could write N1QL queries, view queries, or you could even lookup documents by their key. Of the three possible ways to obtain data, doing lookups [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/","og_site_name":"The Couchbase Blog","article_author":"https:\/\/www.facebook.com\/thepolyglotdeveloper","article_published_time":"2017-01-03T15:00:00+00:00","article_modified_time":"2019-05-07T17:04:38+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":"Nic Raboy, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@nraboy","twitter_misc":{"Written by":"Nic Raboy, Developer Advocate, Couchbase","Est. reading time":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/"},"author":{"name":"Nic Raboy, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/bb545ebe83bb2d12f91095811d0a72e1"},"headline":"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation","datePublished":"2017-01-03T15:00:00+00:00","dateModified":"2019-05-07T17:04:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/"},"wordCount":377,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Best Practices and Tutorials","Couchbase Server","GoLang"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/","url":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/","name":"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2017-01-03T15:00:00+00:00","dateModified":"2019-05-07T17:04:38+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#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\/using-golang-to-get-multiple-couchbase-documents-by-key-in-a-single-operation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using Golang to get Multiple Couchbase Documents by Key in a Single Operation"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","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":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@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\/bb545ebe83bb2d12f91095811d0a72e1","name":"Nic Raboy, defensor dos desenvolvedores, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/8863514d8bed0cf6080f23db40e00354","url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","caption":"Nic Raboy, Developer Advocate, Couchbase"},"description":"Nic Raboy \u00e9 um defensor das modernas tecnologias de desenvolvimento m\u00f3vel e da Web. Ele tem experi\u00eancia em Java, JavaScript, Golang e uma variedade de estruturas, como Angular, NativeScript e Apache Cordova. Nic escreve sobre suas experi\u00eancias de desenvolvimento relacionadas a tornar o desenvolvimento m\u00f3vel e da Web mais f\u00e1cil de entender.","sameAs":["https:\/\/www.thepolyglotdeveloper.com","https:\/\/www.facebook.com\/thepolyglotdeveloper","https:\/\/x.com\/nraboy"],"url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/nic-raboy-2\/"}]}},"authors":[{"term_id":9032,"user_id":63,"is_guest":0,"slug":"nic-raboy-2","display_name":"Nic Raboy, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/bedeb68368d4681aca4c74fe5f697f0c423b80d498ec50fd915ba018b72c101f?s=96&d=mm&r=g","author_category":"","last_name":"Raboy","first_name":"Nic","job_title":"","user_url":"https:\/\/www.thepolyglotdeveloper.com","description":"Nic Raboy \u00e9 um defensor das modernas tecnologias de desenvolvimento m\u00f3vel e da Web. Ele tem experi\u00eancia em Java, JavaScript, Golang e uma variedade de estruturas, como Angular, NativeScript e Apache Cordova. Nic escreve sobre suas experi\u00eancias de desenvolvimento relacionadas a tornar o desenvolvimento m\u00f3vel e da Web mais f\u00e1cil de entender."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=2481"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2481\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=2481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=2481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=2481"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=2481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}