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:
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 are stored using double-precision floating-point numbers. |
|
Strings are stored in UTF-8 standard. |
|
Stored as a key-value ... |
Get Mastering 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.