Tag: javascript
Learning on the Couch with FreeCodeCamp: Intro to Code Editors
Software Development as a field can be very overwhelming. There seems to be an endless stream of new tools, languages, frameworks and we often have no idea where to start. Among those various tools is a code editor. We’re going...
Netlify Teams Up with Couchbase Capella: Enabling Scalable Web Applications
Great news for developers and web development teams: Netlify has recently introduced a new integration with Couchbase Capella, aimed at making web application development more efficient. This new integration brings together the popular cloud deployment platform of Netlify and the...
The Top 8 Best Languages for Backend Development
Computer programming is becoming an increasingly necessary and popular skill. Many high school and college graduates are exposed to programming even if they are not in a computer science field. This rise in exposure has led to new programmer archetypes...
From N1QL to JavaScript and Back – Part 7: Hierarchical JavaScript Storage
In previous blogs, we covered executing N1QL (SQL++) from JavaScript functions, processing documents through iterators, manipulating data, handling errors, prepared statements and other advanced topics. The final topic to cover is a newly added feature to 7.1 that enables JavaScript library storage options....
From N1QL to JavaScript and Back – Part 6: Advanced Topics
In previous blogs, we covered executing N1QL (SQL++) from JavaScript functions, processing documents through iterators, manipulating data, handling errors, and using prepared statements. We have a few more advanced topics to cover before we move onto manipulating JavaScript libraries, such as calling other...
From N1QL to JavaScript and Back – Part 3: Iterating over Documents and DML
This earlier blog goes through the basics of executing N1QL statements inside JavaScript functions. We now move onto… Iterators/Processing values So far we have purposely avoided statements that return data, and returning data from the function. This is where we...
From N1QL to JavaScript and Back – Part 2: Basic Usage
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...
From N1QL to Javascript and Back – Part 1: Introduction
Among the many great features introduced in Couchbase Server 7.0, one has the potential for a greater impact in later releases: N1QL User Defined Functions. A quick glance at the past N1QL is a declarative language, meaning that requests merely...
Traverse Hierarchy with SQL++ User-defined functions (UDFs)
User-defined functions (UDFs) are a feature that exist in most RDBMS. Whether it is Oracle PL/SQL (Procedural Language for SQL), SQL Server T-SQL (Transact-SQL), PL/pgSQL (Procedural Language/PostgreSQL), or other variants, all these languages have the general characteristics of providing a...
Creating Python and JavaScript User Defined Functions For Geospatial Queries
SQL++ queries can access data stored in your Couchbase cluster in a variety of ways. There are situations where having the business logic as part of your data queries can also be beneficial. SQL++ supports this with User Defined Functions...
JavaScript evolution for Couchbase: Connect 2021 sessions
Support for JavaScript remains a priority for us at Couchbase–and during the Couchbase ConnectONLINE 2021 event last year, where we discussed how we evolved our support for JavaScript over the past year. This blog post will summarize the JavaScript-related takeaways...
Introducing Ottoman v2.0: An ODM for Node.js & Couchbase
On behalf of the Couchbase team, I’m absolutely thrilled to announce the General Availability of Ottoman 2.0. Ottoman is an Object Document Mapper (ODM) library for Couchbase and Node.js that maps JSON documents stored in Couchbase to native JavaScript objects....