class RethinkDB::DatumTerm

Direct Known Subclasses

Defined in:

rethinkdb/api-datum.cr
rethinkdb/term.cr

Instance Method Summary

Instance methods inherited from class RethinkDB::Term

clone clone, coerce_to(target) coerce_to, to_reql : JSON::Any to_reql, type_of type_of

Constructor methods inherited from class RethinkDB::Term

new(type : RethinkDB::TermType, args : Array, options)
new(type : RethinkDB::TermType, args : Array)
new(any : JSON::Any)
new(type : RethinkDB::TermType)
new

Instance Method Detail

def !=(other) #
Description copied from class Object

Returns true if this object is not equal to other.

By default this method is implemented as !(self == other) so there's no need to override this unless there's a more efficient way to do it.


[View source]
def %(other) #

[View source]
def &(other) #

[View source]
def *(other) #

[View source]
def +(other) #

[View source]
def -(other) #

[View source]
def /(other) #

[View source]
def <(other) #

[View source]
def <=(other) #

[View source]
def ==(other) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def >(other) #

[View source]
def >=(other) #

[View source]
def [](key) #

[View source]
def |(other) #

[View source]
def ~ #

[View source]
def add(*others) #

[View source]
def and(*others) #

[View source]
def append(value) #

[View source]
def avg(field) #

[View source]
def avg #

[View source]
def avg(&) #

[View source]
def between(a, b, options : Hash | NamedTuple) #

[View source]
def between(a, b) #

[View source]
def ceil #

[View source]
def change_at(index, value) #

[View source]
def changes(options : Hash | NamedTuple) #

[View source]
def changes #

[View source]
def contains(other) #

[View source]
def contains #

[View source]
def contains(&) #

[View source]
def count(value) #

[View source]
def count #

[View source]
def count(&) #

[View source]
def date #

[View source]
def default(value) #

[View source]
def default(&) #

[View source]
def delete #

[View source]
def delete_at(begin_index, end_index) #

[View source]
def delete_at(index) #

[View source]
def distinct(options : Hash | NamedTuple) #

[View source]
def distinct(**kargs) #

[View source]
def div(*others) #

[View source]
def do(*args) #

[View source]
def do(*args, &) #

[View source]
def downcase #

[View source]
def eq(other) #

[View source]
def filter(callable) #

[View source]
def filter(&) #

[View source]
def filter(**kargs, &) #

[View source]
def floor #

[View source]
def for_each(callable) #

[View source]
def for_each(&) #

[View source]
def ge(other) #

[View source]
def get_field(key) #

[View source]
def group(field) #

[View source]
def group(&) #

[View source]
def gt(other) #

[View source]
def has_fields(*other) #

[View source]
def insert_at(index, value) #

[View source]
def keys #

[View source]
def le(other) #

[View source]
def limit(count) #

[View source]
def lt(other) #

[View source]
def map(callable) #

[View source]
def map(&) #

[View source]
def max(field) #

[View source]
def max #

[View source]
def max(&) #

[View source]
def merge(callable) #

[View source]
def merge(&) #

[View source]
def min(field) #

[View source]
def min #

[View source]
def min(&) #

[View source]
def mod(*others) #

[View source]
def mul(*others) #

[View source]
def ne(other) #

[View source]
def not #

[View source]
def nth(key) #

[View source]
def or(*others) #

[View source]
def order_by(&) #

[View source]
def order_by(callable) #

[View source]
def order_by(**kargs) #

[View source]
def pluck(*args) #

[View source]
def reduce(callable) #

[View source]
def reduce(&) #

[View source]
def round #

[View source]
def run(conn, runopts : Hash | NamedTuple) #

[View source]
def run(conn) #

[View source]
def run(conn, **runopts) #

[View source]
def set_difference(value) #

[View source]
def set_insert(value) #

[View source]
def set_intersection(value) #

[View source]
def set_union(value) #

[View source]
def skip(count) #

[View source]
def slice(start, size) #

[View source]
def slice(start) #

[View source]
def splice_at(index, array) #

[View source]
def split(sep, max) #

[View source]
def split(sep) #

[View source]
def split #

[View source]
def sub(*others) #

[View source]
def sum(field) #

[View source]
def sum #

[View source]
def sum(&) #

[View source]
def to_iso8601 #

[View source]
def union(other) #

[View source]
def upcase #

[View source]
def values #

[View source]
def without(*fields) #

[View source]