A Pure Perl RethinkDB Driver
Perl Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
external
lib
t
tools
.gitignore
.perltidyrc
.travis.yml
Changes
LICENSE
MANIFEST.SKIP
Makefile.PL
README.md

README.md

perl-rethinkdb

Build Status Coverage Status CPAN version

A Pure-Perl RethinkDB Driver

package MyApp;
use Rethinkdb;

r->connect->repl;
r->table('agents')->get('007')->update(
  r->branch(
    r->row->attr('in_centrifuge'),
    {'expectation': 'death'},
    {}
  )
)->run;

Documentation

See http://njlg.info/perl-rethinkdb/

Notes

  • This version is compatible with RethinkDB 2.3.4
  • No authentication support yet
  • This is still in beta stage
  • For examples see the tests in t/*.t or see the documentation (link above)

Todo

  • Add sugar syntax for attr (e.g. $doc->{attr}), slice (e.g. $doc->[3..6]), and nth (e.g. $doc->[3])
  • Add sugar syntax for as many operators as possible (e.g. +, -, /, *)
  • Performance testing and fixes
  • Look into non-blocking IO