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

Advanced queries

Over the past chapters, we've looked at quite a few different queries. We've seen how to create tables, insert and remove data, filter data based on conditions, and efficiently query data using queries.

Although, these queries are the most common types of queries you will use, sometimes you may want to write more complex queries, especially when working with large datasets. In this section, you will learn new ReQL commands and use RethinkDB's advanced features to run more advanced queries.

We will start by looking at three extremely useful queries.

Limits, skips, and sorts

The most common queries in a database system are read queries, which make use of RethinkDB's filter command or, in case you're using an index, the getAll command. ...

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