Updated to rethinkdb 1.12.3 & added examples for api