Rethinkdb::Query::Datum

DESCRIPTION

Rethinkdb::Query::Datum is the smallest building block in the RethinkDB Query Language. A datum can be thought of as a primative. A datum can have the following types: null, number, string, or boolean.

ATTRIBUTES

Rethinkdb::Query::Datum implements the following attributes.

data

my $datum = r->expr('Lorem Ipsum');
say $datum->data;

The actual datum value of this instance.

datumType

my $datum = r->expr('Lorem Ipsum');
say $datum->datumType;

The actual RQL (RethinkDB Query Language) datum type of this instance.

SEE ALSO

Rethinkdb, http://rethinkdb.com