O'Reilly logo

Mastering RethinkDB by Shahid Shaikh

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

The RethinkDB data model

The RethinkDB data model consists of two main components:

  • RethinkDB data types
  • RethinkDB model relationship

RethinkDB data types are further classified into basic data types, dates, binary objects, and geospatial queries.

Refer to the following diagram for more details:

The RethinkDB data model

Let's go over to each component in detail.

RethinkDB data types

RethinkDB provides six basic data types; they are represented in tabular format, as shown in the following table:

Data type

Description

Numbers

Numbers are stored using double-precision floating-point numbers.

Strings

Strings are stored in UTF-8 standard.

Objects

Stored as a key-value ...

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