Skip to content

njlg/perl-rethinkdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://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