Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Pure Perl RethinkDB Driver
Perl Perl6
branch: master

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 1.16.2-1
  • This is still in beta stage
  • For examples see the tests in t/*.t

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
  • Submit to CPAN — Coming soon!
  • Look into non-blocking IO
Something went wrong with that request. Please try again.