Tag: nodejs

Prepared Statements – by the Numbers!

Always be Prepared…. In our last discussion on prepared statements in couchbase we talked about the performance gains that are possible using prepared statements. I thought I'd post a “sequel” with a few real world examples and numbers using the...

/ February 4, 2016

Prepare for This!

Get Prepared…. One of the more impressive aspects of using N1QL is the ability to use prepared statements. What are prepared statements? Why use them? What's the big deal? Consider the following example from the travel-sample bucket and dataset that are bundled...

/ February 4, 2016

Mass Deleting Documents by Compound Key Prefix Using Node.js

A common question that gets asked in the Couchbase forums and on Stack Overflow is how to delete all records from a bucket that have a key that starts with some value. In other words, how to delete all records...

Making a Game API Server Using Node.js: Revisited

A few years ago, Brett Lawson made a great blog series on creating a game server using Node.js and Couchbase Server. Since then, the Node.js SDK for Couchbase has grown significantly from version 1.x to 2.x. In this article we’re...