O'Reilly logo

Getting Started with RethinkDB by Gianluca Tiepolo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. The ReQL Query Language

RethinkDB is queried using ReQL—a custom query language designed to be powerful and intuitive. ReQL provides a clear syntax that can be used to manipulate JSON documents in the database. This chapter will introduce you to the most common ReQL queries. More advanced use cases will be covered in the Chapter 4, Performance Tuning and Advanced Queries.

This chapter also covers the basics of moving data in and out of the database by creating tables and populating them with JSON documents.

In this chapter, you will learn the following:

  • Creating a database
  • Creating new tables
  • Adding, updating, and removing documents
  • Querying the database and manipulating results

Before we start querying the database, let's take a closer look ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required