Interface Expression

Hierarchy

Index

Call signatures

Methods

Call signatures

(prop: string): Expression

Parameters

  • prop: string

Returns

Expression

Methods

public add(n: number): Expression

Parameters

  • n: number

Returns

Expression

public and(b: boolean): Expression

Parameters

  • b: boolean

Returns

Expression

public append(prop: string): Expression

Parameters

  • prop: string

Returns

Expression

public contains(prop: string): Expression

Parameters

  • prop: string

Returns

Expression

public default(value: T in "rethinkdb".Expression<T>): Expression

Parameters

  • value: T in "rethinkdb".Expression<T>

Returns

Expression

public delete(options?: UpdateOptions): Operation

Parameters

Returns

Operation

public div(n: number): Expression

Parameters

  • n: number

Returns

Expression

public eq(v: any): Expression

Parameters

  • v: any

Returns

Expression

public ge(value: T in "rethinkdb".Expression<T>): Expression

Parameters

  • value: T in "rethinkdb".Expression<T>

Returns

Expression

public gt(value: T in "rethinkdb".Expression<T>): Expression

Parameters

  • value: T in "rethinkdb".Expression<T>

Returns

Expression

public hasFields(fields?: Array<string>): Expression

Parameters

  • fields?: Array<string> optional

Returns

Expression

public le(value: T in "rethinkdb".Expression<T>): Expression

Parameters

  • value: T in "rethinkdb".Expression<T>

Returns

Expression

public lt(value: T in "rethinkdb".Expression<T>): Expression

Parameters

  • value: T in "rethinkdb".Expression<T>

Returns

Expression

public merge(query: Expression): Expression

Parameters

Returns

Expression

public mod(n: number): Expression

Parameters

  • n: number

Returns

Expression

public mul(n: number): Expression

Parameters

  • n: number

Returns

Expression

public ne(v: any): Expression

Parameters

  • v: any

Returns

Expression

public not(): Expression

Returns

Expression

public or(b: boolean): Expression

Parameters

  • b: boolean

Returns

Expression

public replace(obj: Object, options?: UpdateOptions): Operation

Parameters

Returns

Operation

public replace(expr: ExpressionFunction): Operation

Parameters

Returns

Operation

public run(conn: Connection, cb: (err: Error, result: T) => void): any

Parameters

  • conn: Connection
  • cb: (err: Error, result: T) => void

Returns

any

public sub(n: number): Expression

Parameters

  • n: number

Returns

Expression

public update(obj: Object, options?: UpdateOptions): Operation

Parameters

Returns

Operation