Unofficial RethinkDB Driver for Rust
Well documented and easy to use
Motivation
The official driver is difficult to support, awkward to use, and has little to no documentation or examples. Therefore, an attempt was made by me to remedy these shortcomings
Install
or
[]
= "0.1.3"
Import
use r;
Connect
let conn = r.connect.await?;
Get data
let query = r.table.get.run;
let user: = query.try_next.await?;
Update data
Use a nested reql query
r.table
.get
.update
.run;