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. ...

Get Getting Started with RethinkDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.