Dynamic module rethinkdb

Index

Variables

Interfaces

Classes

Functions

Variables

count: Aggregator

Functions

asc(property: string): Sort

Parameters

  • property: string

Returns

Sort

avg(prop: string): Aggregator

Parameters

  • prop: string

Returns

Aggregator

branch(test: Expression, trueBranch: Expression, falseBranch: Expression): Expression

Parameters

Returns

Expression

connect(host: ConnectionOptions, cb: (err: Error, conn: "rethinkdb".Connection) => void): any

Parameters

Returns

any

db(name: string): Db

Parameters

  • name: string

Returns

Db

dbCreate(name: string): Operation

Parameters

  • name: string

Returns

Operation

dbDrop(name: string): Operation

Parameters

  • name: string

Returns

Operation

dbList(): Operation

Returns

Operation

desc(property: string): Sort

Parameters

  • property: string

Returns

Sort

expr(stuff: any): Expression

Parameters

  • stuff: any

Returns

Expression

now(): Time

Returns

Time

row(name: string): Expression

Parameters

  • name: string

Returns

Expression

sum(prop: string): Aggregator

Parameters

  • prop: string

Returns

Aggregator

table(name: string, options?: { useOutdated: boolean; }): Table

Parameters

  • name: string
  • options?: { useOutdated: boolean; } optional

Returns

Table