ReQL is the RethinkDB query language. It offers a very powerful and convenient way to manipulate JSON documents.
Start the server from a terminal window.
Start the server from the Windows command prompt.
First, make sure you have
protoc installed and in your
for more details if it fails to compile.
Add this crate (
reql) and the
futures crate to your dependencies in
Now import the RethinkDB driver:
You can now access RethinkDB commands through the
When you first start RethinkDB, the server opens a port for the client
28015 by default). Let’s open a connection:
use reql::r; let session = r.connect(()).await?;
connection is now initialized and we can run queries.
Common ReQL data types
The query that will be sent to RethinkDB
The connection object returned by
The top-level ReQL namespace
A server in the cluster is unavailable
An error has occurred within the driver
The most generic error message in ReQL
The parent class of all runtime errors
Custom result returned by various ReQL commands